ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
|
Script which renders the matches UI. More...
Package Functions | |
void | UpdateBoard (Move move, Winner result, Pos[] solution) |
Update a position in the board shown on screen. More... | |
void | SubmitMessage (string str) |
Submit a message which will be shown in the message box when possible. However, message will be shown in the Unity console immediately. More... | |
Events | |
Action< FutureMove > | MoveSelected |
Native C# event which will be invoked when a move is selected in the UI. More... | |
Script which renders the matches UI.
Based on the MVC design pattern, composed in this case by the following classes:
|
inlinepackage |
Submit a message which will be shown in the message box when possible. However, message will be shown in the Unity console immediately.
str | Message to show in the message box. |
Update a position in the board shown on screen.
move | Move performed, contains position to update. |
result | Match result. If match is over and someone won, a line will be drawn over the final solution, given in the solution parameter. |
solution | The solution, in case someone won. |
Action<FutureMove> MoveSelected |
Native C# event which will be invoked when a move is selected in the UI.