Package net.sf.colossus.client
Interface IOracle
-
- All Known Implementing Classes:
Client,GameClientSide
public interface IOracleKnows a lot of things, but cannot actually take any actions. Everything returned by this interface must be immutable, or a copy. An attempt to reduce the God-class nature of Client. TODO this should be replaced with classes from the game package, mostly Game itself- Author:
- David Ripton
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlayergetActivePlayer()PlayergetBattleActivePlayer()BattlegetBattleCS()BattlePhasegetBattlePhase()EngagementgetEngagement()java.util.List<java.lang.Boolean>getLegionCreatureCertainties(Legion legion)java.util.List<java.lang.String>getLegionImageNames(Legion legion)intgetNumPlayers()intgetTurnNumber()
-
-
-
Method Detail
-
getBattleCS
Battle getBattleCS()
-
getEngagement
Engagement getEngagement()
-
getTurnNumber
int getTurnNumber()
-
getLegionImageNames
java.util.List<java.lang.String> getLegionImageNames(Legion legion)
-
getLegionCreatureCertainties
java.util.List<java.lang.Boolean> getLegionCreatureCertainties(Legion legion)
-
getNumPlayers
int getNumPlayers()
-
getActivePlayer
Player getActivePlayer()
-
getBattleActivePlayer
Player getBattleActivePlayer()
-
getBattlePhase
BattlePhase getBattlePhase()
-
-