Interface GameSetupStep

All Known Implementing Classes:
BoardPicker, PlayerRoster

public interface GameSetupStep
Represents a step during the initialization of a game in which the player must specify some information See #addGameSetupStep(SetupStep)
Author:
rkinney
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Apply the information gathered via the component to the game in progress
    A GUI component that prompts the player for the needed information.
    A human-understandable description of this step
    boolean
     
  • Method Details

    • isFinished

      boolean isFinished()
      Returns:
      true if this step needs no further information, false if the player should be prompted for more information
    • getStepTitle

      String getStepTitle()
      A human-understandable description of this step
    • getControls

      Component getControls()
      A GUI component that prompts the player for the needed information. If null, then no further information is needed
    • finish

      void finish()
      Apply the information gathered via the component to the game in progress