public class UnitNode extends java.lang.Object implements IGroupOrUnitNode
public UnitNode(Unit data)
data - the unit to set for this unit node (must not be null).public Unit get()
Unit associated with this unit node.public boolean isUnit()
IGroupOrUnitNodeisUnit in interface IGroupOrUnitNode