Packages

final case class Cood(x: Int, y: Int) extends ProdInt2 with Product with Serializable

A Cood represents an integer coordinate within a tile grid system. This has current been implemented for Hexs and Squares, while triangles is the third possible regular tile system. A SqCood represents either a tile centre, a tile side or a tile vertex. This system allows river and naval units to move along the tile sides.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cood
  2. Serializable
  3. ProdInt2
  4. ProdHomo
  5. Product2
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Cood(x: Int, y: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(operand: Int): Cood
  4. def +(operand: Cood): Cood
  5. def -(operand: Cood): Cood
  6. def /(operand: Int): Cood
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def _1: Int
    Definition Classes
    Cood → Product2
  9. def _2: Int
    Definition Classes
    Cood → Product2
  10. def addX(operand: Int): Cood
  11. def addXY(xOff: Int, yOff: Int): Cood
  12. def addY(operand: Int): Cood
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def canEqual(a: Any): Boolean
    Definition Classes
    Cood → Equals
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def eqXY(x: Int, y: Int): Boolean
  18. def evenSum: Boolean

    x.isOdd & y.isOdd | x.isEven & y.isEven

  19. def fXY[A](f: (Int, Int) => A): A
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def oddSum: Boolean

    x.isOdd & y.isEven | x.isEven & y.isOdd

  27. def productArity: Int
    Definition Classes
    Product2 → Product
  28. def productElement(n: Int): Any
    Definition Classes
    Product2 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def subX(operand: Int): Cood
  31. def subXY(xOff: Int, yOff: Int): Cood
  32. def subY(operand: Int): Cood
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toSqVec2: Vec2
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. val x: Int
  39. def xyStr: String
  40. val y: Int
  41. def yxStr: String

Inherited from Serializable

Inherited from ProdInt2

Inherited from ProdHomo

Inherited from Product2[Int, Int]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped