Word Game Builder 2.0.1f2
Reference Manual
Classes | Properties | List of all members
ExampleViewModel Class Reference

This class is responsible for sending and receiving data between the game and the UI. More...

+ Inheritance diagram for ExampleViewModel:
+ Collaboration diagram for ExampleViewModel:

Classes

class  AgentContext
 Contains information about the agent. More...
 
class  GameContext
 Contains information about the game. More...
 
class  LanguagesContext
 Contains information about languages. More...
 
class  PlayerContext
 Contains information about the player. More...
 
class  UiContext
 Represents a base class for all user interface contexts. More...
 
class  WordResultContext
 Contains information about a word check. More...
 

Properties

AgentContext agent [get]
 Contains information about the agent. More...
 
GameContext game [get]
 Contains information about the game. More...
 
LanguagesContext languages [get]
 Contains information about languages. More...
 
PlayerContext player [get]
 Contains information about the player. More...
 
bool showWildcardPanel [get, set]
 Should the wildcard panel be visible? More...
 
bool submitButtonEnabled [get, set]
 Should the submit button be enabled? More...
 
int wildcardPanelSelection [get, set]
 The currently selected item in the wildcard panel. More...
 

Detailed Description

This class is responsible for sending and receiving data between the game and the UI.

The example game follows an MVVM pattern, representing UI data in an abstract way. This class only defines data, and doesnt provide functionality on its own.

See also
http://en.wikipedia.org/wiki/Model_View_ViewModel

Property Documentation

AgentContext agent
get

Contains information about the agent.

GameContext game
get

Contains information about the game.

LanguagesContext languages
get

Contains information about languages.

PlayerContext player
get

Contains information about the player.

bool showWildcardPanel
getset

Should the wildcard panel be visible?

bool submitButtonEnabled
getset

Should the submit button be enabled?

int wildcardPanelSelection
getset

The currently selected item in the wildcard panel.