Class TicTacToeBoard

All Implemented Interfaces:
Token.TokenMoveListener<BoardToken>, Killer, Cloneable, Iterable<String>, Serializable

public class TicTacToeBoard extends GameBoard implements Token.TokenMoveListener<BoardToken>
A Tic Tac Toe board.
Author:
hendrik
  • Constructor Details

    • TicTacToeBoard

      public TicTacToeBoard()
      creates a new tic tac toe board
  • Method Details

    • addToWorld

      public void addToWorld()
    • startGame

      public void startGame()
      prepares a new game
      Overrides:
      startGame in class GameBoard
    • onRemoved

      public void onRemoved(StendhalRPZone zone)
      Description copied from class: Entity
      Called when this object is being removed from a zone.
      Overrides:
      onRemoved in class AreaEntity
      Parameters:
      zone - The zone this will be removed from.