vooga.games.mariogame
Class TileMap
java.lang.Object
vooga.games.mariogame.TileMap
public class TileMap
- extends java.lang.Object
Constructor Summary |
TileMap(java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TILE_SIZE
public int TILE_SIZE
width
public int width
height
public int height
TileMap
public TileMap(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
getNewItems
public java.util.List<ItemSprite> getNewItems()
getTiles
public java.util.List<MapTile> getTiles()
updateTiles
public void updateTiles()
getTileGroup
public SpriteGroup getTileGroup()
setTileGroup
public void setTileGroup(SpriteGroup tileGroup)
loadTiles
public void loadTiles(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException