abstract class Board[B <: Board[B, A, PC, PL, R], A <: Action[B, A, PC, PL, R], PC <: Piece[B, A, PC, PL, R], PL <: Player[B, A, PC, PL, R], R <: Rules] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Board
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Board(grid: Vector[Option[PC]])

Type Members

  1. type Cell = Option[PC]
  2. type Location = Option[Cell]

Abstract Value Members

  1. abstract def actions(implicit rules: R): Set[A]
  2. abstract def doAction(a: A)(implicit rules: R): Option[B]
  3. abstract def movementsOfDelta(from: XY, delta: XY)(implicit rules: R): Set[A]

Concrete 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. def applyUpdate(grid: Vector[Option[PC]], update: (Int, Option[PC])): Vector[Option[PC]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def between(from: XY, to: XY)(implicit boardSize: BoardSize): Set[Location]
    Attributes
    protected
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(pos: XY)(implicit boardSize: BoardSize): Location
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. val grid: Vector[Option[PC]]
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. def isEmptyCell(l: Location): Boolean
  16. def isInBounds(l: Location): Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPiece(l: Location): Boolean
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def pieces: Vector[PC]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def xyBetween(from: XY, to: XY)(implicit boardSize: BoardSize): Set[XY]
    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped