public class UnitNode extends Object implements IGroupOrUnitNode
| Modifier and Type | Method and Description |
|---|---|
Unit |
get()
Gets the
Unit associated with this unit node. |
boolean |
isUnit()
Indicates if this node is a UnitNode.
|
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 IGroupOrUnitNodeCopyright © 2020. All rights reserved.