Package

com.rayrobdod.boardGame

swingView

Permalink

package swingView

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

Type Members

  1. case class CheckerboardTilesheet(light: Color = Color.white, dark: Color = Color.black, dim: Dimension = new Dimension(16,16)) extends RectangularTilesheet[Any] with Product with Serializable

    Permalink

    A tilesheet that creates a Checked pattern.

    A tilesheet that creates a Checked pattern.

    Spaces where the sum of the indexies is even uses a square of the 'light' color, Spaces where the sum of the indexies is odd uses a square of the 'dark' color

    dim

    the size of each tile in the checkerboard

    Version

    3.0.0

  2. case class HashcodeColorTilesheet(dim: Dimension = new Dimension(16,16)) extends RectangularTilesheet[Any] with Product with Serializable

    Permalink

    A tilesheet that uses the tile's hashcode to determine what color to use

    A tilesheet that uses the tile's hashcode to determine what color to use

    dim

    the size of each tile in the checkerboard

    Version

    3.0.0

    Note

    there is no good reason for this to have a type parameter.

  3. type IndexConverter = ((Int, Int)) ⇒ (Int, Int)

    Permalink
  4. final case class ParamaterizedRectangularVisualizationRule[A](iconParts: Map[Int, Seq[Image]] = Map.empty[Int, Seq[Image]], tileRand: Int = 1, indexEquation: String = "true", surroundingTiles: Map[IndexConverter, SpaceClassMatcher[A]] = ...) extends RectangularVisualizationRule[A] with Product with Serializable

    Permalink

    Version

    3.0.0

  5. final class RandomColorTilesheet extends RectangularTilesheet[Any]

    Permalink

    A tilesheet for testing randoms.

    A tilesheet for testing randoms. Isolating the problem.

  6. class RectangularTilemapComponent extends JComponent

    Permalink

    A JComponent which, when painted, paints a grid of icons

  7. trait RectangularTilesheet[-A] extends AnyRef

    Permalink

    A class that contains a method to create an image appropriate for representing a particular space in a rectangular field

    A class that contains a method to create an image appropriate for representing a particular space in a rectangular field

    Version

    3.0.0

  8. final class RectangularTilesheetLoader[SpaceClass] extends Iterable[RectangularTilesheet[SpaceClass]]

    Permalink

    Like java.util.ServiceLoader, but for Tilesheets.

    Like java.util.ServiceLoader, but for Tilesheets.

    Is willing to load either resources using 'path/to/file' or scala objects 'package.name.object'

    Version

    3.0.0

  9. abstract class RectangularVisualizationRule[A] extends AnyRef

    Permalink

    A single rule for matching spaces on a rectangular field

    A single rule for matching spaces on a rectangular field

    Version

    3.0.0

  10. class RectangularVisualziationRuleBuilder[A] extends Builder[ParamaterizedRectangularVisualizationRule[A]]

    Permalink

    Version

    3.0.0

  11. trait SpaceClassMatcherFactory[-SpaceClass] extends AnyRef

    Permalink
  12. final case class VisualizationRuleBasedRectangularTilesheet[A](name: String, visualizationRules: Seq[RectangularVisualizationRule[A]]) extends RectangularTilesheet[A] with Product with Serializable

    Permalink

    Version

    3.0.0

  13. class VisualizationRuleBasedRectangularTilesheetBuilder[A] extends Builder[Delayed[A]]

    Permalink

Value Members

  1. object ConstFalseSpaceClassMatcherFactory extends SpaceClassMatcherFactory[Any]

    Permalink

    A SpaceClassMatcherFactory that always returns a SpaceClassMatcher that always retuns false

  2. object ConstTrueSpaceClassMatcherFactory extends SpaceClassMatcherFactory[Any]

    Permalink

    A SpaceClassMatcherFactory that always returns a SpaceClassMatcher that always retuns true

  3. object IndexesTilesheet extends RectangularTilesheet[Any]

    Permalink

    A tilesheet that prints indexies on a tile

    A tilesheet that prints indexies on a tile

    Version

    3.0.0

  4. object JSONRectangularVisualizationRule

    Permalink

    Version

    3.0.0

  5. object NilTilesheet extends RectangularTilesheet[Any]

    Permalink

    A tilesheet that has only one rule: for anything, display blank image.

    A tilesheet that has only one rule: for anything, display blank image.

    Version

    3.0.0

  6. object RandomColorTilesheet

    Permalink
  7. object RectangularFieldComponent

    Permalink

    Version

    3.0.0

  8. object VisualizationRuleBasedRectangularTilesheetBuilder

    Permalink
  9. def gcd(x: Int, y: Int): Int

    Permalink
    Annotations
    @tailrec()
  10. def lcm(x: Int, y: Int): Int

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped