net.vee.btech.saikoro
Class Unit
java.lang.Object
|
+--net.vee.btech.saikoro.Unit
- public class Unit
- extends java.lang.Object
A simple representation of a Battletech unit.
|
Constructor Summary |
Unit(java.lang.String aName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Unit
public Unit(java.lang.String aName)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String aName)
newRound
public void newRound(int aRound)
addRound
protected void addRound(Round aRound)
throws SaikoroException
getLastRound
public Round getLastRound()
getRound
public Round getRound(int aRound)
toXML
public void toXML(net.vee.io.xml.Generator aGenerator)
throws net.vee.io.xml.XMLException