Word Game Builder 2.0.1f2
Reference Manual
Public Member Functions | Properties | Events | List of all members
ExampleViewModel.PlayerContext Class Reference

Contains information about the player. More...

+ Inheritance diagram for ExampleViewModel.PlayerContext:
+ Collaboration diagram for ExampleViewModel.PlayerContext:

Public Member Functions

void ClearSelection ()
 Clears the current tile selection. Called by the UI. More...
 
void SubmitWord ()
 Submit a word. Called by the UI. More...
 

Properties

string bestWord [get, set]
 The player's best word. More...
 
int bestWordScore [get, set]
 The player's best word score. More...
 
bool hasSelection [get, set]
 Does the player have a selection? More...
 
int highScore [get, set]
 The player's current high score. More...
 
bool inputEnabled [get, set]
 Is player input enabled? More...
 
string lastWord [get, set]
 The player's last word. More...
 
int lastWordScore [get, set]
 The player's last word score. More...
 
bool multiplyByPermutations [get, set]
 Should the player's score be multiplied by word permutations? More...
 
WordResultContext orderedResult [get]
 Contains information about an ordered word check. More...
 
WordResultContext permutationResult [get]
 Contains information about a permutation word check. More...
 
int score [get, set]
 The player's current score. More...
 

Events

System.Action onClearSelection
 This event fires when a user presses a button to clear the current tile selection. More...
 
System.Action onSubmitWord
 This event fires when a user presses a button to submit a word. More...
 

Detailed Description

Contains information about the player.

Member Function Documentation

void ClearSelection ( )
inline

Clears the current tile selection. Called by the UI.

+ Here is the caller graph for this function:

void SubmitWord ( )
inline

Submit a word. Called by the UI.

+ Here is the caller graph for this function:

Property Documentation

string bestWord
getset

The player's best word.

int bestWordScore
getset

The player's best word score.

bool hasSelection
getset

Does the player have a selection?

int highScore
getset

The player's current high score.

bool inputEnabled
getset

Is player input enabled?

string lastWord
getset

The player's last word.

int lastWordScore
getset

The player's last word score.

bool multiplyByPermutations
getset

Should the player's score be multiplied by word permutations?

WordResultContext orderedResult
get

Contains information about an ordered word check.

WordResultContext permutationResult
get

Contains information about a permutation word check.

int score
getset

The player's current score.

Event Documentation

System.Action onClearSelection

This event fires when a user presses a button to clear the current tile selection.

System.Action onSubmitWord

This event fires when a user presses a button to submit a word.