vooga.games.mariogame
Class TileMap

java.lang.Object
  extended by vooga.games.mariogame.TileMap

public class TileMap
extends java.lang.Object


Field Summary
 int height
           
 int TILE_SIZE
           
 int width
           
 
Constructor Summary
TileMap(java.io.File file)
           
 
Method Summary
 java.util.List<ItemSprite> getNewItems()
           
 SpriteGroup getTileGroup()
           
 java.util.List<MapTile> getTiles()
           
 void loadTiles(java.io.File file)
           
 void setTileGroup(SpriteGroup tileGroup)
           
 void updateTiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TILE_SIZE

public int TILE_SIZE

width

public int width

height

public int height
Constructor Detail

TileMap

public TileMap(java.io.File file)
        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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