class ChessPlayer extends Player
- Alphabetic
- By Inheritance
- ChessPlayer
- Player
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ChessPlayer()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def DisableMovement(): Unit
Disables the events which the player can do.
Disables the events which the player can do.
- Definition Classes
- Player
- 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
- ChessPlayer → Player
- 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
- ChessPlayer → Player
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- var color: Int
- Definition Classes
- Player
- var curPiece: ChessPiece
- var depth: Int
- Definition Classes
- Player
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- var gameBoard: Array[Array[Piece]]
- Definition Classes
- Player
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- var observer: GameEngine
- Definition Classes
- Player
- var promButs: GridPane
- var promotion: Boolean
- 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
- ChessPlayer → Player
- def setDepth(dep: Int): Unit
Sets the depth of the AI if exists.
- 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
- var src: Node
- val state: State
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated