Implemented basic moving of blocks.
This commit is contained in:
@@ -58,7 +58,10 @@ public class Game {
|
||||
}
|
||||
|
||||
public boolean canMove(Point src, Point dst){
|
||||
return getPath(src, dst)!=null;
|
||||
//TODO: uncomment next line and implement getPath
|
||||
|
||||
//return getPath(src, dst)!=null;
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean doMove(Point src, Point dst){
|
||||
|
||||
Reference in New Issue
Block a user