ColorShapeLinks
An assignment for the AI course unit of the Bachelor in Videogames at Lusófona University
|
Defines a data provider for ColorShapeLinks sessions, which include one or more matches. More...
Properties | |
SessionState | State [get] |
State of the current session. More... | |
string | PlayerWhite [get] |
Name of player playing as white. More... | |
string | PlayerRed [get] |
Name of player playing as red. More... | |
IEnumerable< Match > | Matches [get] |
All matches played or to be played in current session. More... | |
IEnumerable< KeyValuePair< Match, Winner > > | Results [get] |
Results of matches played so far in current session. More... | |
IEnumerable< KeyValuePair< IPlayer, int > > | Standings [get] |
Standings (classification, ranking) of players in current session. More... | |
Winner | LastMatchResult [get] |
Result of last match. More... | |
string | WinnerString [get] |
The winner's name and color. More... | |
bool | WhoPlaysFirst [get] |
Ask who plays first? More... | |
bool | BlockStartNextMatch [get] |
Start of next match screen needs to be unlocked with a button? More... | |
bool | BlockShowResult [get] |
Show result screen needs to be unlocked with a button? More... | |
float | UnblockedScreenDuration [get] |
Duration of unblocked screens (start of next match, show result). More... | |
Defines a data provider for ColorShapeLinks sessions, which include one or more matches.
Definition at line 14 of file ISessionDataProvider.cs.
|
get |
Show result screen needs to be unlocked with a button?
true
if show result screen needs to be unlocked with a button, false
otherwise.
Definition at line 78 of file ISessionDataProvider.cs.
|
get |
Start of next match screen needs to be unlocked with a button?
true
if start of next match screen needs to be unlocked with a button, false
otherwise.
Definition at line 69 of file ISessionDataProvider.cs.
|
get |
Result of last match.
One of the values of the Winner enumeration.
Definition at line 50 of file ISessionDataProvider.cs.
|
get |
All matches played or to be played in current session.
Collection of matches.
Definition at line 34 of file ISessionDataProvider.cs.
|
get |
Name of player playing as red.
A string containing the player's name.
Definition at line 28 of file ISessionDataProvider.cs.
|
get |
Name of player playing as white.
A string containing the player's name.
Definition at line 24 of file ISessionDataProvider.cs.
Results of matches played so far in current session.
Collection of match-winner pairs.
Definition at line 38 of file ISessionDataProvider.cs.
|
get |
Standings (classification, ranking) of players in current session.
Descending ordered collection of player-points pairs.
Definition at line 44 of file ISessionDataProvider.cs.
|
get |
State of the current session.
One of the values defined in the SessionState enumeration.
Definition at line 20 of file ISessionDataProvider.cs.
|
get |
Duration of unblocked screens (start of next match, show result).
Duration in seconds.
Definition at line 84 of file ISessionDataProvider.cs.
|
get |
Ask who plays first?
true
if UI is to ask who plays first, false
otherwise.
Definition at line 60 of file ISessionDataProvider.cs.
|
get |
The winner's name and color.
A string containing the winner's name and color.
Definition at line 54 of file ISessionDataProvider.cs.