ColorShapeLinks
An assignment for the AI course unit of the Bachelor in Videogames at Lusófona University
|
Represents a move to be performed in the future. More...
Public Member Functions | |
FutureMove (int column, PShape shape) | |
Create a future move. More... | |
Public Attributes | |
readonly int | column |
The column where to drop the piece. More... | |
readonly PShape | shape |
The piece to use in the move. More... | |
Static Public Attributes | |
static FutureMove | NoMove => new FutureMove(-1, (PShape)(-1)) |
Represent a "no move" decision, when an IA is unable to decide which move to perform, due to a timeout or exception. More... | |
Represents a move to be performed in the future.
Definition at line 11 of file FutureMove.cs.
|
inline |
Create a future move.
column | The column where to drop the piece. |
shape | The piece to use in the move. |
Definition at line 35 of file FutureMove.cs.
readonly int column |
The column where to drop the piece.
Definition at line 16 of file FutureMove.cs.
|
static |
Represent a "no move" decision, when an IA is unable to decide which move to perform, due to a timeout or exception.
Definition at line 28 of file FutureMove.cs.
readonly PShape shape |
The piece to use in the move.
Definition at line 21 of file FutureMove.cs.