games.strategy.triplea.util
Class UnitOwner
java.lang.Object
games.strategy.triplea.util.UnitOwner
public class UnitOwner
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UnitOwner
public UnitOwner(Unit unit)
UnitOwner
public UnitOwner(UnitType type,
PlayerID owner)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getType
public UnitType getType()
getOwner
public PlayerID getOwner()