class ChessAI extends Player
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChessAI
- Player
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ChessAI()
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.
- def Notify(): Unit
Notifies the engine to execute the player's play and continues the game.
- 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 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
- def run(buts: GridPane = null): Unit
Initializes the player data at the begin of the game.
- 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
- 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