[common] breakable bricks
This commit is contained in:
@@ -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}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user