ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
|
Represents one match in a tournament. More...
Public Member Functions | |
Match (IThinkerPrototype thinkerWhite, IThinkerPrototype thinkerRed) | |
Create a new match. More... | |
override string | ToString () |
Returns a string representation of this match. More... | |
Public Attributes | |
readonly IThinkerPrototype | thinkerWhite |
First thinker in this match (white). More... | |
readonly IThinkerPrototype | thinkerRed |
Second thinker in this match (red). More... | |
Properties | |
IThinkerPrototype | this[PColor color] [get] |
Indexer for getting the thinker's prototype based on his color. More... | |
Match | Swapped [get] |
A match with the thinkers swapped. More... | |
Represents one match in a tournament.
|
inline |
Create a new match.
thinkerWhite | First thinker in match (white). |
thinkerRed | Second thinker in match (red). |
override string ToString | ( | ) |
Returns a string representation of this match.
readonly IThinkerPrototype thinkerRed |
Second thinker in this match (red).
readonly IThinkerPrototype thinkerWhite |
First thinker in this match (white).
|
get |
A match with the thinkers swapped.
A new match instance.
|
get |
Indexer for getting the thinker's prototype based on his color.
color | Thinker color. |
System.InvalidOperationException | Thrown when an invalid color is given. |