Uses of Interface
game.State

Packages that use State
Package
Description
Package for representing and playing two-player games.
Package for playing two-player games on the console.
  • Uses of State in game

    Subinterfaces of State in game
    Modifier and Type
    Interface
    Description
    interface 
    Represents the state of a game whose moves are described by two objects, i.e., from and to.
  • Uses of State in game.console

    Classes in game.console with type parameters of type State
    Modifier and Type
    Class
    Description
    class 
    AbstractGame<S extends State, T>
    Conducts a two-player game on the console.
    Subclasses with type arguments of type State in game.console
    Modifier and Type
    Class
    Description
    class 
    Game<T>
    Conducts a two-player game whose moves are described by a single object.
    Fields in game.console declared as State
    Modifier and Type
    Field
    Description
    protected final S
    AbstractGame.state
     
    Constructors in game.console with parameters of type State
    Modifier
    Constructor
    Description
     
    Game(State<T> state, Function<String,T> parser)
    Creates a Game instance to conduct a two-player game whose moves are described by a single object on the console.