mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 14:49:03 +00:00
TileMap now uses Tile instances instead of ints. No changes in the way it is stored in the database
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user