vooga.games.mariogame
Class MarioPlayField

java.lang.Object
  extended by PlayField
      extended by vooga.games.mariogame.MarioPlayField

public class MarioPlayField
extends PlayField


Constructor Summary
MarioPlayField()
           
MarioPlayField(TileMap map)
           
 
Method Summary
 void addOverlays(OverlayTracker overlayTracker)
           
 void addTileMap(TileMap tileMap)
           
 MarioSprite getMario()
           
 java.lang.String getMusic()
           
 OverlayTracker getOverlays()
           
 TileMap getTileMap()
           
 boolean isFinished()
           
 void render(java.awt.Graphics2D g)
           
 void setLevel(int level)
           
 void setMario(MarioSprite mario)
           
 void setMusic(java.lang.String music)
           
 void setSpawnLocation(double x, double y)
           
 void update(long elapsedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarioPlayField

public MarioPlayField()

MarioPlayField

public MarioPlayField(TileMap map)
Method Detail

getMario

public MarioSprite getMario()

setMario

public void setMario(MarioSprite mario)

addTileMap

public void addTileMap(TileMap tileMap)

getTileMap

public TileMap getTileMap()

update

public void update(long elapsedTime)

setLevel

public void setLevel(int level)

render

public void render(java.awt.Graphics2D g)

addOverlays

public void addOverlays(OverlayTracker overlayTracker)

getOverlays

public OverlayTracker getOverlays()

isFinished

public boolean isFinished()

setSpawnLocation

public void setSpawnLocation(double x,
                             double y)

getMusic

public java.lang.String getMusic()

setMusic

public void setMusic(java.lang.String music)