axle.game.ttt

TicTacToeState

case class TicTacToeState(player: TicTacToePlayer, board: (TicTacToe._4.type.tttmm)#Matrix[Option[TicTacToePlayer]] forSome {val _4: TicTacToe}, _eventQueues: Map[TicTacToePlayer, List[Event[TicTacToe]]] = Map())(implicit ttt: TicTacToe) extends State[TicTacToe] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, State[TicTacToe], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TicTacToeState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. State
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TicTacToeState(player: TicTacToePlayer, board: (TicTacToe._4.type.tttmm)#Matrix[Option[TicTacToePlayer]] forSome {val _4: TicTacToe}, _eventQueues: Map[TicTacToePlayer, List[Event[TicTacToe]]] = Map())(implicit ttt: TicTacToe)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val _eventQueues: Map[TicTacToePlayer, List[Event[TicTacToe]]]

  5. def apply(move: TicTacToeMove): Option[TicTacToeState]

    Definition Classes
    TicTacToeState → State
  6. def apply(position: Int): Option[TicTacToePlayer]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val board: (TicTacToe._13.type.tttmm)#Matrix[Option[TicTacToePlayer]] forSome {val _13: TicTacToe}

  9. val boardSize: Int

  10. def broadcast[E <: Event[TicTacToe]](players: Set[PLAYER], event: E): STATE

    Definition Classes
    State
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def displayEvents(players: Set[PLAYER]): STATE

    Definition Classes
    State
  13. def displayTo(viewer: TicTacToePlayer): String

    Definition Classes
    TicTacToeState → State
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def eventQueues: Map[TicTacToePlayer, List[Event[TicTacToe]]]

    Definition Classes
    TicTacToeState → State
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hasWon(player: TicTacToePlayer): Boolean

  19. def hasWonColumn(player: TicTacToePlayer): Boolean

  20. def hasWonDiagonal(player: TicTacToePlayer): Boolean

  21. def hasWonRow(player: TicTacToePlayer): Boolean

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def moves: Seq[TicTacToeMove]

    Definition Classes
    TicTacToeState → State
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. val numPositions: Int

  28. def openPositions: IndexedSeq[Int]

  29. def outcome: Option[TicTacToeOutcome]

    Definition Classes
    TicTacToeState → State
  30. val player: TicTacToePlayer

    Definition Classes
    TicTacToeState → State
  31. def positionToColumn(position: Int): Int

  32. def positionToRow(position: Int): Int

  33. def setEventQueues(qs: Map[TicTacToePlayer, List[Event[TicTacToe]]]): TicTacToeState

    Definition Classes
    TicTacToeState → State
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from State[TicTacToe]

Inherited from AnyRef

Inherited from Any

Ungrouped