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)
           
 
Method Summary
protected  void addRound(Round aRound)
           
 Round getLastRound()
           
 java.lang.String getName()
           
 Round getRound(int aRound)
           
 void newRound(int aRound)
           
 void setName(java.lang.String aName)
           
 void toXML(net.vee.io.xml.Generator aGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unit

public Unit(java.lang.String aName)
Method Detail

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