io.ipsq.game2048.facade

Grid

class Grid extends Object

Annotations
@RawJSType() @JSName( "Grid" ) @native()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Grid
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Grid(size: Int)

  2. new Grid(size: Int, previousState: Array[Array[TileSerialized]], over: Boolean, won: Boolean)

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. def addRandomTile(): Unit

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def availableCells(): Array[Position]

  9. def buildTraversals(vector: Vector): Traversals

  10. def cellAvailable(cell: Position): Boolean

  11. def cellContent(cell: Position): Tile

  12. def cellOccupied(cell: Position): Boolean

  13. val cells: Array[Array[Tile]]

  14. def cellsAvailable(): Int

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def eachCell(callback: Function3[Int, Int, Tile, Unit]): Unit

  17. def empty(): Array[Array[Tile]]

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

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findFarthestPosition(cell: Position, vector: Vector): FarthestPosition

  22. def fromState(state: Array[Array[Object]]): Array[Array[Tile]]

  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def getVector(direction: Int): Vector

  25. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def insertTile(tile: Tile): Unit

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  30. def move(direction: Int): Move

  31. def moveTile(tile: Tile, cell: Position): Unit

  32. def movesAvailable(): Boolean

  33. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  36. val over: Boolean

  37. def positionsEqual(first: Position, second: Position): Boolean

  38. def prepareTiles(): Unit

  39. val previousState: Array[Array[TileSerialized]]

  40. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  41. def randomAvailableCell(): Tile

  42. def removeTile(tile: Tile): Unit

  43. def serialize(): GridSerialized

  44. val size: Int

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def tileMatchesAvailable(): Boolean

  47. def toLocaleString(): String

    Definition Classes
    Object
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. def valueOf(): Any

    Definition Classes
    Object
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def withinBounds(position: Position): Boolean

  54. val won: Boolean

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped