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... | |
![]() | |
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... | |
![]() | |
bool | IsActive => isActive |
Is the AI active? More... | |
bool | IsHuman => false |
Is the player human? More... | |
Additional Inherited Members | |
![]() | |
virtual void | Awake () |
Awake is called when the script instance is being loaded. More... | |
![]() | |
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... | |
![]() | |
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.