com.rayrobdod.boardGame.swingView

CheckerboardTilesheet

case class CheckerboardTilesheet(light: Color = java.awt.Color.white, dark: Color = java.awt.Color.black, dim: Dimension = new java.awt.Dimension(16, 16)) extends RectangularTilesheet with Product with Serializable

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

25 Aug 2012 - change to match new type of Tilesheet

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

Instance Constructors

  1. new CheckerboardTilesheet(light: Color = java.awt.Color.white, dark: Color = java.awt.Color.black, dim: Dimension = new java.awt.Dimension(16, 16))

    Creates a CheckerboardTilesheet

    Creates a CheckerboardTilesheet

    dim

    the size of each tile in the checkerboard

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val dark: Color

  9. val darkIcon: SolidColorIcon

  10. val dim: Dimension

    the size of each tile in the checkerboard

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getIconFor(f: RectangularField, x: Int, y: Int, rng: Random): (SolidColorIcon, SolidColorIcon)

    x

    the x coordinate of the space to lookup

    y

    the y coordinate of the space to lookup

    rng

    the

    returns

    # the part of the image that goes below the movable controlled tokens # the part of the image that goes above the movable controlled tokens

    Definition Classes
    CheckerboardTilesheetRectangularTilesheet
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val light: Color

  17. val lightIcon: SolidColorIcon

  18. def name: String

    a name for the tilesheet

    a name for the tilesheet

    Definition Classes
    CheckerboardTilesheetRectangularTilesheet
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    CheckerboardTilesheet → AnyRef → Any
  24. val transparentIcon: SolidColorIcon

  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RectangularTilesheet

Inherited from AnyRef

Inherited from Any

Ungrouped