ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
Move Struct Reference

Represents a move already performed. More...

+ Collaboration diagram for Move:

Public Member Functions

 Move (int row, int col, Piece piece)
 Create a move. More...
 

Public Attributes

readonly int row
 Board row where the piece was placed. More...
 
readonly int col
 Board column where the piece was placed. More...
 
readonly Piece piece
 Piece used for the move. More...
 

Detailed Description

Represents a move already performed.

Constructor & Destructor Documentation

◆ Move()

Move ( int  row,
int  col,
Piece  piece 
)
inline

Create a move.

Parameters
rowBoard row where the piece was placed.
colBoard column where the piece was placed.
piecePiece used for the move.

Member Data Documentation

◆ col

readonly int col

Board column where the piece was placed.

◆ piece

readonly Piece piece

Piece used for the move.

◆ row

readonly int row

Board row where the piece was placed.


The documentation for this struct was generated from the following file: