moagg.level.xml.data.object
Class MortarData

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

public class MortarData
extends AbstractDecorationData
implements Destroyable

See Also:
Serialized Form

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

MortarData

public MortarData()
Method Detail

getOrientation

public Orientation getOrientation()

setOrientation

public void setOrientation(Orientation orientation)

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(MortarData.BarrelData barrelData)

getBarrels

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


Copyright © 2008. All Rights Reserved.