added captures, movement, legalmoves hover, and basics of game
This commit is contained in:
@@ -5,4 +5,9 @@ public class Position {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
Position pos = (Position) o;
|
||||
return pos.x == this.x && pos.y == this.y;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user