ColorShapeLinks
An assignment for the AI course unit of the Bachelor in Videogames at Lusófona University
IMatchDataProvider Interface Reference

Defines a data provider for ColorShapeLinks matches. More...

Inheritance diagram for IMatchDataProvider:
Inheritance graph
Collaboration diagram for IMatchDataProvider:
Collaboration graph

Public Member Functions

IPlayer GetPlayer (PColor player)
 Get player of the specified color. More...
 

Properties

Board Board [get]
 The game board. More...
 
IPlayer CurrentPlayer [get]
 The current player. More...
 
float AITimeLimit [get]
 Maximum real time in seconds that AI can take to play. More...
 
float MinAIGameMoveTime [get]
 Even if the AI plays immediately, this time (in seconds) gives the illusion that the AI took some minimum time to play. More...
 
float LastMoveAnimLength [get]
 Last move animation length in seconds. More...
 

Detailed Description

Defines a data provider for ColorShapeLinks matches.

Definition at line 11 of file IMatchDataProvider.cs.

Member Function Documentation

◆ GetPlayer()

IPlayer GetPlayer ( PColor  player)

Get player of the specified color.

Parameters
playerColor of the player to get.
Returns
Player of the specified color.

Implemented in SessionController.

Property Documentation

◆ AITimeLimit

float AITimeLimit
get

Maximum real time in seconds that AI can take to play.

Maximum real time in seconds that AI can take to play.

Definition at line 25 of file IMatchDataProvider.cs.

◆ Board

Board Board
get

The game board.

The game board.

Definition at line 15 of file IMatchDataProvider.cs.

◆ CurrentPlayer

IPlayer CurrentPlayer
get

The current player.

The current player.

Definition at line 19 of file IMatchDataProvider.cs.

◆ LastMoveAnimLength

float LastMoveAnimLength
get

Last move animation length in seconds.

Last move animation length in seconds.

Definition at line 36 of file IMatchDataProvider.cs.

◆ MinAIGameMoveTime

float MinAIGameMoveTime
get

Even if the AI plays immediately, this time (in seconds) gives the illusion that the AI took some minimum time to play.

Minimum apparent AI play time.

Definition at line 32 of file IMatchDataProvider.cs.


The documentation for this interface was generated from the following file: