axle.game.ttt.TicTacToe

TicTacToeState

case class TicTacToeState (player: TicTacToePlayer, board: Matrix[Option[String]]) extends State with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, State, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TicTacToeState
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. State
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TicTacToeState (player: TicTacToePlayer, board: Matrix[Option[String]])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

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

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def apply (move: TicTacToeMove): TicTacToeState

    Definition Classes
    TicTacToeStateState
  7. def apply (position: Int): Option[String]

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. val board : Matrix[Option[String]]

  10. val boardSize : Int

  11. def canEqual (arg0: Any): Boolean

    Definition Classes
    TicTacToeState → Equals
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    TicTacToeState → Equals → AnyRef → Any
  15. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hasWon (player: TicTacToePlayer): Boolean

  18. def hasWonColumn (player: TicTacToePlayer): Boolean

  19. def hasWonDiagonal (player: TicTacToePlayer): Boolean

  20. def hasWonRow (player: TicTacToePlayer): Boolean

  21. def hashCode (): Int

    Definition Classes
    TicTacToeState → AnyRef → Any
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. val numPositions : Int

  27. def openPositions (): IndexedSeq[Int]

  28. def outcome (): Option[TicTacToeOutcome]

    Definition Classes
    TicTacToeStateState
  29. val player : TicTacToePlayer

    Definition Classes
    TicTacToeStateState
  30. def positionToColumn (position: Int): Int

  31. def positionToRow (position: Int): Int

  32. def productArity : Int

    Definition Classes
    TicTacToeState → Product
  33. def productElement (arg0: Int): Any

    Definition Classes
    TicTacToeState → Product
  34. def productIterator : Iterator[Any]

    Definition Classes
    Product
  35. def productPrefix : String

    Definition Classes
    TicTacToeState → Product
  36. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  37. def toString (): String

    Definition Classes
    TicTacToeState → AnyRef → Any
  38. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from State

Inherited from AnyRef

Inherited from Any