Interface Module

All Known Implementing Classes:
CameraModule, EndScreenModule, GraphicEntityModule, ToggleModule, TooltipModule, ViewportModule

public interface Module
A Module can be registered to the GameManager in order to send information to the game view or provide utility functions to the Referee.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called by the game manager after calling the Referee's gameTurn method.
    void
    Called by the game manager after calling the Referee's onEnd method.
    void
    Called by the game manager after calling the Referee's init method.
  • Method Details

    • onGameInit

      void onGameInit()
      Called by the game manager after calling the Referee's init method. The module must be registered to the game manager.
    • onAfterGameTurn

      void onAfterGameTurn()
      Called by the game manager after calling the Referee's gameTurn method. The module must be registered to the game manager.
    • onAfterOnEnd

      void onAfterOnEnd()
      Called by the game manager after calling the Referee's onEnd method. The module must be registered to the game manager.