Package net.sf.colossus.game
Class Engagement
- java.lang.Object
-
- net.sf.colossus.game.Engagement
-
public class Engagement extends java.lang.Object
Holds 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 Legion
getAttackingLegion()
Legion
getDefendingLegion()
MasterHex
getLocation()
java.lang.String
getLocationLabel()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-