|
ColorShapeLinks
An assignment for the AI course unit of the Bachelor in Videogames at Lusófona University
|
Configuration class for the RandomAIThinker. More...


Public Member Functions | |
| override void | Setup () |
| This method will be called before a match starts and is used for instantiating a new RandomAIThinker. More... | |
Public Member Functions inherited from AIPlayer | |
| override string | ToString () |
| A string representation of this player. Equivalent to AIPlayer.PlayerName. More... | |
Public Attributes | |
| override string | PlayerName => "RandomAI" |
| The player's name. More... | |
| override IThinker | Thinker => thinker |
| The player's thinker. More... | |
Public Attributes inherited from AIPlayer | |
| bool | IsActive => isActive |
| Is the AI active? More... | |
| bool | IsHuman => false |
| Is the player human? More... | |
Additional Inherited Members | |
Protected Member Functions inherited from AIPlayer | |
| virtual void | Awake () |
| Awake is called when the script instance is being loaded. More... | |
Properties inherited from AIPlayer | |
| float | AITimeLimit [get, private set] |
| The time in seconds available for the AI to play. More... | |
| abstract string | PlayerName [get] |
| The player's name. More... | |
| abstract IThinker | Thinker [get] |
| The player's thinker. More... | |
Properties inherited from IPlayer | |
| bool | IsHuman [get] |
| Is the player human? More... | |
| string | PlayerName [get] |
| Name of the player. More... | |
| IThinker | Thinker [get] |
| The player's thinker. More... | |
Configuration class for the RandomAIThinker.
Definition at line 11 of file RandomAI.cs.
|
inlinevirtual |
This method will be called before a match starts and is used for instantiating a new RandomAIThinker.
Implements AIPlayer.
Definition at line 31 of file RandomAI.cs.
| override string PlayerName => "RandomAI" |
The player's name.
The string "RandomAI".
Definition at line 16 of file RandomAI.cs.
| override IThinker Thinker => thinker |
The player's thinker.
An instance of RandomAIThinker.
Definition at line 21 of file RandomAI.cs.