@Test public void isOccupied() { assertThat(grid.get(0,0).isOccupied()).isTrue(); }
public boolean isOccupied() { return !(tileable instanceof Empty); }
Tile implements Entity { public boolean isOccupied() { return !(tileable instanceof Empty); } }
Tile implements Entity { public boolean isOccupied() { return !(tileable instanceof Empty); } Tile(); }
Tile implements Entity { public boolean isOccupied() { return !(tileable instanceof Empty); } Tile(); Tileable getTileable(); boolean isOccupied(); Tile get(Direction direction); abstract int getX(); abstract int getY(); abstract Grid getGrid(); }
Tile implements Entity { public boolean isOccupied() { return !(tileable instanceof Empty); } Tile(); Tileable getTileable(); boolean isOccupied(); Tile get(Direction direction); abstract int getX(); abstract int getY(); abstract Grid getGrid();  }