Package net.sf.colossus.game
Class Engagement
- java.lang.Object
-
- net.sf.colossus.game.Engagement
-
public class Engagement extends java.lang.ObjectHolds the basic data for an engagement. TODO: use also on server side. TODO: unify with EngagementResults.Engagement
-
-
Constructor Summary
Constructors Constructor Description Engagement(MasterHex hex, Legion attacker, Legion defender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegiongetAttackingLegion()LegiongetDefendingLegion()MasterHexgetLocation()java.lang.StringgetLocationLabel()java.lang.StringtoString()
-
-
-
Method Detail
-
getLocation
public MasterHex getLocation()
-
getLocationLabel
public java.lang.String getLocationLabel()
-
getDefendingLegion
public Legion getDefendingLegion()
-
getAttackingLegion
public Legion getAttackingLegion()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-