Scalafied TileMachineWithInventory.