AIPlayerBaseGetAction(GameStateGameInfo, PlayerStatePlayerInfo, ListPlayerStatePlayerInfo, TurnInfo, ActionVerifier) Method
Implementation of an algorithm that decides the action the player wants to take based on the current game context.
Namespace: ProjectLCore.PlayersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
protected abstract GameAction GetAction(
GameStateGameInfo gameInfo,
PlayerStatePlayerInfo myInfo,
List<PlayerStatePlayerInfo> enemyInfos,
TurnInfo turnInfo,
ActionVerifier verifier
)
- gameInfo GameStateGameInfo
- Information about the shared resources.
- myInfo PlayerStatePlayerInfo
- Information about the resources of THIS player
- enemyInfos ListPlayerStatePlayerInfo
- Information about the resources of the OTHER players.
- turnInfo TurnInfo
- Information about the current turn.
- verifier ActionVerifier
- Verifier for verifying the validity of actions in the current game context.
GameActionThe action the player wants to take.