game.interfaces
Interface Combatant

All Known Subinterfaces:
Army, Command, HighCommand, TaskForce, Unit
All Known Implementing Classes:
AbstractCommand, ArmyCommand, Element, HighCommandClass, TaskForceCommand, UnitClass, UnitList

public interface Combatant

This interface is designed so combat aggregations can be obtained from Units or Commands, as weel as the individual values from elements.


Method Summary
 Civilization getCivilization()
           
 CombatData getCombatData()
          Return an current combat data object.
 java.lang.String getName()
           
 

Method Detail

getCombatData

public CombatData getCombatData()
Return an current combat data object.

Returns:
an current combat data object.

getName

public java.lang.String getName()
Returns:
a name for the combat data object.

getCivilization

public Civilization getCivilization()
Returns:
the civilization of the combatant.