games.strategy.triplea.delegate.remote
Interface IBattleDelegate
- All Superinterfaces:
- IRemote
- All Known Implementing Classes:
- BattleDelegate
public interface IBattleDelegate
- extends IRemote
- Author:
- Sean Bridges
getBattles
BattleListing getBattles()
- Returns:
- the battles currently waiting to be fought
fightBattle
java.lang.String fightBattle(Territory where,
boolean bombing)
- Fight the battle in the given country
- Parameters:
where - - where to fightbombing - - fight a bombing raid
- Returns:
- an error string if the battle could not be fought or an error occured, null otherwse
getCurentBattle
Territory getCurentBattle()
- Returns:
- The location of the currently being fought battle, or null if no battle is in progress.