TileMap now uses Tile instances instead of ints. No changes in the way it is stored in the database

This commit is contained in:
Simon
2018-11-15 12:08:44 -05:00
parent e50bcdeab7
commit 4be1bf2e8a
21 changed files with 268 additions and 100 deletions

View File

@@ -44,7 +44,7 @@ public class CubotDrill extends CubotHardwareModule {
if (cubot.getCurrentAction() == Action.IDLE) {
//TODO: Get Tile instance and call onDig()
//int tile = cubot.getWorld().getTileMap().getTileAt(cubot.getX(), cubot.getY());
//int tile = cubot.getWorld().getTileMap().getTileIdAt(cubot.getX(), cubot.getY());
//cubot.setCurrentAction(Action.DIGGING);
}
}