game.interfaces
Interface Army

All Superinterfaces:
Combatant, Command, java.lang.Comparable
All Known Subinterfaces:
HighCommand
All Known Implementing Classes:
ArmyCommand, HighCommandClass

public interface Army
extends Command

This is the interface for an army command.


Method Summary
 void addSubCommand(Command subCommand)
          Add a sub-command.
 void removeSubCommand(Command subCommand)
          Remove a sub-command.
 
Methods inherited from interface game.interfaces.Command
addNewUnit, addTaskForceToList, cancelAllOrders, carryOutOrders, commandIterator, commandStructure, dies, getAttackStrength, getCivilization, getHighCommand, getName, getNumberOfSubCommands, getNumberOfUnits, getPersonnel, getSuperior, getTaskForce, hasSettlers, hasUnits, issueOrders, merge, newSubCommand, remove, setName, setSuperior, split, structure, structure, taskForceIterator, transfer
 
Methods inherited from interface game.interfaces.Combatant
getCombatData
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addSubCommand

public void addSubCommand(Command subCommand)
Add a sub-command.

Parameters:
subCommand - the sub-command to add.

removeSubCommand

public void removeSubCommand(Command subCommand)
Remove a sub-command.

Parameters:
subCommand - the sub-command to remove.