c

Connect4

Connect4Player

class Connect4Player extends Player

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

Instance Constructors

  1. new Connect4Player()

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
    Connect4PlayerPlayer
  5. def Movement(source: Node = null): 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
    Player
  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
    Player
  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 depth: Int
    Definition Classes
    Player
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. var gameBoard: Array[Array[Piece]]
    Definition Classes
    Player
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. var observer: GameEngine
    Definition Classes
    Player
  21. def run(buts: GridPane = null): 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
    Connect4PlayerPlayer
  22. 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
  23. 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
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. 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