public interface DrawableGame
Modifier and Type | Method and Description |
---|---|
java.util.List<Robot> |
getAllRobots()
Gets a list of all robots still participating
|
int |
getHeight()
Gets the number of tiles in the y direction
|
java.util.List<Particle> |
getParticlesToDraw()
Gets a list of all the particles to be drawn
Should return a list readable from top-left to top-right and so on.
|
java.util.List<Player> |
getPlayers()
Gets a list of active players to receive information about player names
|
java.util.List<Robot> |
getRobotsToDraw()
Gets a list of all robots to draw
|
java.util.List<Tile> |
getTilesToDraw()
Gets a list of all the tiles to be drawn
Should return a list readable from top-left to top-right and so on.
|
java.util.List<Wall> |
getWallsToDraw()
Gets a list of all the walls to be drawn
Should return a list readable from top-left to top-right and so on.
|
int |
getWidth()
Gets the number of tiles in the x direction
|
int getWidth()
int getHeight()
java.util.List<Tile> getTilesToDraw()
Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() tiles should be drawn on the top row from left to right.
java.util.List<Wall> getWallsToDraw()
Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() walls should be drawn on the top row from left to right.
java.util.List<Particle> getParticlesToDraw()
Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() particles should be drawn on the top row from left to right.
java.util.List<Robot> getRobotsToDraw()
java.util.List<Robot> getAllRobots()
java.util.List<Player> getPlayers()