Class Engagement

java.lang.Object
net.sf.colossus.game.Engagement

public class Engagement extends Object
Holds the basic data for an engagement. TODO: use also on server side. TODO: unify with EngagementResults.Engagement
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • attacker

      private final Legion attacker
      If engagement is ongoing, the masterBoard hex, attacker and defender
    • defender

      private final Legion defender
    • location

      private final MasterHex location
  • Constructor Details

  • Method Details

    • getLocation

      public MasterHex getLocation()
    • getLocationLabel

      public String getLocationLabel()
    • getDefendingLegion

      public Legion getDefendingLegion()
    • getAttackingLegion

      public Legion getAttackingLegion()
    • toString

      public String toString()
      Overrides:
      toString in class Object