C# Class Dwarrowdelf.Client.KeyboardHandler

Mostra file Open project: tomba/dwarrowdelf

Public Methods

Method Description
KeyboardHandler ( MapControl3D mapControl ) : System

Private Methods

Method Description
CreateKey ( bool>.Func action ) : GameKeyBinding
CreateKey ( Key key, Action action ) : GameKeyBinding
CreateKey ( Key key, ModifierKeys modifiers, Action action ) : GameKeyBinding
CreateKey ( char key, Action action ) : GameKeyBinding
HandleAdventureCursorKeys ( System.Windows.Input.KeyEventArgs e ) : bool
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
ProcessKeyEvent ( System.Windows.Input.KeyEventArgs e, GameKeyBinding bindings ) : bool
ProcessKeyEvent ( System.Windows.Input.TextCompositionEventArgs e, GameKeyBinding bindings ) : bool

Method Details

KeyboardHandler() public method

public KeyboardHandler ( MapControl3D mapControl ) : System
mapControl MapControl3D
return System