Implemented basic moving of blocks.

This commit is contained in:
t-moe
2016-06-16 08:51:28 +02:00
parent d4ae7264ff
commit 66ce156e5b
2 changed files with 39 additions and 14 deletions

View File

@@ -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){