moagg.level.xml.data.object
Class TankData

java.lang.Object
  extended by moagg.level.xml.data.AbstractData
      extended by moagg.level.xml.data.object.AbstractDecorationData
          extended by moagg.level.xml.data.object.TankData
All Implemented Interfaces:
java.io.Serializable, Destroyable

public class TankData
extends AbstractDecorationData
implements Destroyable

See Also:
Serialized Form

Constructor Summary
TankData()
           
 
Method Summary
 int getHealth()
           
 int getSpeed()
           
 TankType getType()
           
 int getW()
           
 WeaponType getWeaponType()
           
 void setHealth(int health)
           
 void setSpeed(int speed)
           
 void setType(TankType type)
           
 void setW(int w)
           
 void setWeaponType(WeaponType weaponType)
           
 
Methods inherited from class moagg.level.xml.data.object.AbstractDecorationData
getId, getX, getY, isVisible, setId, setVisible, setX, setY
 
Methods inherited from class moagg.level.xml.data.AbstractData
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TankData

public TankData()
Method Detail

getW

public int getW()

setW

public void setW(int w)

getHealth

public int getHealth()
Specified by:
getHealth in interface Destroyable

setHealth

public void setHealth(int health)
Specified by:
setHealth in interface Destroyable

getType

public TankType getType()

setType

public void setType(TankType type)

getWeaponType

public WeaponType getWeaponType()

setWeaponType

public void setWeaponType(WeaponType weaponType)

getSpeed

public int getSpeed()

setSpeed

public void setSpeed(int speed)


Copyright © 2008. All Rights Reserved.