net.sf.colossus.client
Interface IOracle

All Known Implementing Classes:
Client, GameClientSide

public interface IOracle

Knows 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
 Player getActivePlayer()
           
 Player getBattleActivePlayer()
           
 Battle getBattleCS()
           
 BattlePhase getBattlePhase()
           
 Engagement getEngagement()
           
 java.util.List<java.lang.Boolean> getLegionCreatureCertainties(Legion legion)
           
 java.util.List<java.lang.String> getLegionImageNames(Legion legion)
           
 int getNumPlayers()
           
 int getTurnNumber()
           
 

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()