Package

com.rayrobdod

boardGame

Permalink

package boardGame

Source
package.scala
Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. boardGame
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type RectangularField[A] = Map[RectangularFieldIndex, StrictRectangularSpace[A]]

    Permalink
  2. type RectangularFieldIndex = (Int, Int)

    Permalink
  3. trait RectangularSpace[A] extends Space[A]

    Permalink

    A com.rayrobdod.boardGame.Space in a rectangular board, such that it can have zero or one bordering space in each of the four cardinal directions.

    A com.rayrobdod.boardGame.Space in a rectangular board, such that it can have zero or one bordering space in each of the four cardinal directions.

    Ecludian geometery says that this.left.right == this and this.up.down == this, similarly for each other direction, but this makes no specific checks to that effect.

    A

    the type of spaceclass used by this class

    Version

    3.0.0

    See also

    com.rayrobdod.boardGame.RectangularField

  4. final class RectangularSpaceViaFutures[A] extends RectangularSpace[A]

    Permalink

    A RectangularSpace where the values of left, right, up and down are lazily evaluated from scala.Function0s

    A RectangularSpace where the values of left, right, up and down are lazily evaluated from scala.Function0s

    A

    the type of spaceclass used by this class

  5. trait Space[A] extends AnyRef

    Permalink

    A spot on a board game board

    A spot on a board game board

    A

    the type of spaceclass used by this class

    Version

    3.0.0

  6. trait SpaceClassMatcher[-SpaceClass] extends AnyRef

    Permalink

    A boolean match against a class

  7. trait StrictRectangularSpace[A] extends RectangularSpace[A]

    Permalink

    A RectangularSpace with the additional reqqquirement that every adjacenet space also be a StrictRectangularSpace

  8. final class StrictRectangularSpaceViaFutures[A] extends StrictRectangularSpace[A]

    Permalink

    A StrictRectangularSpace where the values of left, right, up and down are lazily evaluated from scala.Function0s

    A StrictRectangularSpace where the values of left, right, up and down are lazily evaluated from scala.Function0s

    A

    the type of spaceclass used by this class

  9. final class UnidirectionalSpace[A] extends Space[A]

    Permalink

    A com.rayrobdod.boardGame.Space in which a player can continue in only one direction.

    A com.rayrobdod.boardGame.Space in which a player can continue in only one direction.

    A

    the type of spaceclass used by this class

    Version

    3.0.0 rename from UnaryMovement

  10. final class UnidirectionalSpaceSeq[A] extends LinearSeq[UnidirectionalSpace[A]]

    Permalink

    Noticed that the UnaryMovement Spaces look like linked list nodes So, I made a linked list around the UnaryMovement Spaces.

    Noticed that the UnaryMovement Spaces look like linked list nodes So, I made a linked list around the UnaryMovement Spaces.

    I haven't grown out of my habit of making useless collections yet…

    Version

    3.0.0 rename from UnaryMovementSpaceSeq to UnidirectionalSpaceSeq

Value Members

  1. object ConstFalseSpaceClassMatcher extends SpaceClassMatcher[Any]

    Permalink

    A SpaceClassMatcher that always returns false

  2. object ConstTrueSpaceClassMatcher extends SpaceClassMatcher[Any]

    Permalink

    A SpaceClassMatcher that always returns true

  3. object RectangularField

    Permalink

    A RectangularField is a set of com.rayrobdod.boardGame.RectangularSpaces, such that each space is connected to adjacent spaces Ecludian-geometry wise.

    A RectangularField is a set of com.rayrobdod.boardGame.RectangularSpaces, such that each space is connected to adjacent spaces Ecludian-geometry wise.

    Version

    3.0.0

    See also

    com.rayrobdod.boardGame.RectangularSpace

  4. object Space

    Permalink
  5. package swingView

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped