Version 1?
This commit is contained in:
@@ -12,4 +12,9 @@ function Pos(x,y)
|
||||
{
|
||||
return new Pos(this.x - pos2.x,this.y - pos2.y)
|
||||
}
|
||||
|
||||
this.is_equal = function(pos2)
|
||||
{
|
||||
return pos2.x == this.x && pos2.y == this.y;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user