moagg.level.xml.data.object
Class TurretData

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.TurretData
All Implemented Interfaces:
java.io.Serializable, Destroyable

public class TurretData
extends AbstractDecorationData
implements Destroyable

See Also:
Serialized Form

Nested Class Summary
static class TurretData.BarrelData
           
 
Constructor Summary
TurretData()
           
 
Method Summary
 void addBarrel(TurretData.BarrelData barrelData)
           
 java.util.List<TurretData.BarrelData> getBarrels()
           
 int getHealth()
           
 Orientation getOrientation()
           
 TurretType getType()
           
 void setHealth(int health)
           
 void setOrientation(Orientation orientation)
           
 void setType(TurretType type)
           
 
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

TurretData

public TurretData()
Method Detail

getOrientation

public Orientation getOrientation()

setOrientation

public void setOrientation(Orientation orientation)

getType

public TurretType getType()

setType

public void setType(TurretType type)

getHealth

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

setHealth

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

addBarrel

public void addBarrel(TurretData.BarrelData barrelData)

getBarrels

public java.util.List<TurretData.BarrelData> getBarrels()


Copyright © 2008. All Rights Reserved.