net.sf.tankbattles.configuration
Class BattleField
java.lang.Object
net.sf.tankbattles.configuration.BattleField
public class BattleField
- extends java.lang.Object
The place where the battle happens.
Battlefields are created from image heightmaps. Different BattleFields topography is created
by setting a different heightmap.
- Author:
- erickpassos
Constructor Summary |
BattleField()
Default constructor just initializes an empty collection for the obstacles. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BattleField
public BattleField()
- Default constructor just initializes an empty collection for the obstacles.
getHeightmapImage
public java.awt.Image getHeightmapImage()
setHeightmapImage
public void setHeightmapImage(java.awt.Image heightmapImage)
getObstacles
public java.util.Collection<Obstacle> getObstacles()