Class Scene

java.lang.Object
com.amirhn.Game.Scene

public class Scene extends Object
The type Scene.
  • Constructor Details

    • Scene

      public Scene(Board board, Color turn)
      Instantiates a new Scene.
      Parameters:
      board - the board
      turn - the turn
  • Method Details

    • getBoard

      public Board getBoard()
      Gets board.
      Returns:
      the board
    • getTurn

      public Color getTurn()
      Gets turn.
      Returns:
      the turn
    • equals

      public boolean equals(Object o)
      Equals boolean.
      Overrides:
      equals in class Object
      Parameters:
      o - the o
      Returns:
      the boolean