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

Contains information about the game. More...

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

Public Member Functions

void ResetTiles ()
 Reset all tiles in the current game. Called by the UI. More...
 
void SelectWildcardLetter (string letter)
 Select a wildcard tile from the wildcard panel. Called by the UI. More...
 

Properties

bool isInitialized [get, set]
 Is the example game initialized? More...
 
bool tilePoolExists [get, set]
 Does a tile pool exist? More...
 
int tilesRemaining [get, set]
 The amount of tiles remaining in the game. More...
 

Events

System.Action onResetTiles
 This event fires when a user presses a button to reset all tiles in the current game. More...
 
System.Action< string > onWildcardLetterSelect
 This event fires when a user selects a wildcard tile from the wildcard panel. More...
 

Detailed Description

Contains information about the game.

Member Function Documentation

void ResetTiles ( )
inline

Reset all tiles in the current game. Called by the UI.

+ Here is the caller graph for this function:

void SelectWildcardLetter ( string  letter)
inline

Select a wildcard tile from the wildcard panel. Called by the UI.

Parameters
letterThe letter to select (by readable name).

Property Documentation

bool isInitialized
getset

Is the example game initialized?

bool tilePoolExists
getset

Does a tile pool exist?

int tilesRemaining
getset

The amount of tiles remaining in the game.

Event Documentation

System.Action onResetTiles

This event fires when a user presses a button to reset all tiles in the current game.

System.Action<string> onWildcardLetterSelect

This event fires when a user selects a wildcard tile from the wildcard panel.