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 Detail

      • getBattleCS

        Battle getBattleCS()
      • 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()