[common] breakable bricks

This commit is contained in:
2018-01-12 00:14:09 +03:00
parent 21bf2f9ba1
commit b973d0830c
7 changed files with 106 additions and 13 deletions

View File

@@ -12,4 +12,12 @@ class Point {
public function add(point:Point):Point {
return new Point(x + point.x, y + point.y);
}
public function hashCode():Int {
return Std.int(x + 1000 * y);
}
public function toString():String {
return 'Point{x=$x,y=$y}';
}
}