C# Class BalloonsPop.GraphicUserInterface.EventEngine

Extends the EngineCore to compile with the application's graphic interface.
Inheritance: BalloonsPop.Core.EngineCore
Datei anzeigen Open project: Baloons-Pop-4/Main Class Usage Examples

Public Methods

Method Description
EventEngine ( IContext ctx, WpfBundle depBundle ) : System

Initializes a new instance of the EventEngine class.

HandleUserInput ( object sender, EventArgs e ) : void

The method which handles user input by delegating events in compatible form to the core.

SetPlayerNameInContext ( object sender, EventArgs e ) : void

Sets the player name in the context when it is changed in the view.

Method Details

EventEngine() public method

Initializes a new instance of the EventEngine class.
public EventEngine ( IContext ctx, WpfBundle depBundle ) : System
ctx IContext
depBundle WpfBundle
return System

HandleUserInput() public method

The method which handles user input by delegating events in compatible form to the core.
public HandleUserInput ( object sender, EventArgs e ) : void
sender object The object that raised the event.
e System.EventArgs The event arguments provided by the raiser.
return void

SetPlayerNameInContext() public method

Sets the player name in the context when it is changed in the view.
public SetPlayerNameInContext ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void