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 Details

    • getBattleCS

      Battle getBattleCS()
    • getEngagement

      Engagement getEngagement()
    • getTurnNumber

      int getTurnNumber()
    • getLegionImageNames

      List<String> getLegionImageNames(Legion legion)
    • getLegionCreatureCertainties

      List<Boolean> getLegionCreatureCertainties(Legion legion)
    • getNumPlayers

      int getNumPlayers()
    • getActivePlayer

      Player getActivePlayer()
    • getBattleActivePlayer

      Player getBattleActivePlayer()
    • getBattlePhase

      BattlePhase getBattlePhase()