Packages

c

Chess

ChessPlayer

class ChessPlayer extends Player

Linear Supertypes
Player, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChessPlayer
  2. Player
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChessPlayer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def DisableMovement(): Unit

    Disables the events which the player can do.

    Disables the events which the player can do.

    Definition Classes
    Player
  5. def Movement(source: Node): Unit

    Sets the movement on the board if the game has pieces.

    Sets the movement on the board if the game has pieces.

    source

    Node that the event will run on it.

    Definition Classes
    ChessPlayerPlayer
  6. def Notify(): Unit

    Notifies the engine to execute the player's play and continues the game.

    Notifies the engine to execute the player's play and continues the game.

    Definition Classes
    ChessPlayerPlayer
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. var color: Int
    Definition Classes
    Player
  10. var curPiece: ChessPiece
  11. var depth: Int
    Definition Classes
    Player
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. var gameBoard: Array[Array[Piece]]
    Definition Classes
    Player
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. var observer: GameEngine
    Definition Classes
    Player
  22. var promButs: GridPane
  23. var promotion: Boolean
  24. def run(buts: GridPane): Unit

    Initializes the player data at the begin of the game.

    Initializes the player data at the begin of the game.

    buts

    promotion buttons if exists.

    Definition Classes
    ChessPlayerPlayer
  25. def setDepth(dep: Int): Unit

    Sets the depth of the AI if exists.

    Sets the depth of the AI if exists.

    dep

    the AI's depth.

    Definition Classes
    Player
  26. def setObserver(gameEngine: GameEngine): Unit

    Sets the observer of the game which is the engine to update the game when it is notified.

    Sets the observer of the game which is the engine to update the game when it is notified.

    gameEngine

    the engine that executes the player's moves and update the game loop.

    Definition Classes
    Player
  27. var src: Node
  28. val state: State
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Player

Inherited from AnyRef

Inherited from Any

Ungrouped