C# Class Dwarrowdelf.Client.CameraKeyHandler

Inheritance: IGameUpdatable
Afficher le fichier Open project: tomba/dwarrowdelf

Méthodes publiques

Свойство Type Description
KeyDown Action

Méthodes publiques

Méthode Description
CameraKeyHandler ( MyGame game, MapControl3D control ) : System
HandleFpsKeyboard ( ) : void
HandleRtsFspKeyHandled ( System.Windows.Input.KeyEventArgs e ) : void
HandleRtsKeyboard ( ) : void
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
OnTextInputFps ( System.Windows.Input.TextCompositionEventArgs e ) : void
OnTextInputRts ( System.Windows.Input.TextCompositionEventArgs e ) : void
Update ( ) : void

Private Methods

Méthode Description
IsKeyDown ( Key key ) : bool

Method Details

CameraKeyHandler() public méthode

public CameraKeyHandler ( MyGame game, MapControl3D control ) : System
game MyGame
control MapControl3D
Résultat System

HandleFpsKeyboard() public méthode

public HandleFpsKeyboard ( ) : void
Résultat void

HandleRtsFspKeyHandled() public méthode

public HandleRtsFspKeyHandled ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
Résultat void

HandleRtsKeyboard() public méthode

public HandleRtsKeyboard ( ) : void
Résultat void

OnKeyDown() public méthode

public OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
Résultat void

OnKeyUp() public méthode

public OnKeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
Résultat void

OnLostKeyboardFocus() public méthode

public OnLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
sender object
e System.Windows.Input.KeyboardFocusChangedEventArgs
Résultat void

OnTextInput() public méthode

public OnTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs e ) : void
sender object
e System.Windows.Input.TextCompositionEventArgs
Résultat void

OnTextInputFps() public méthode

public OnTextInputFps ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
Résultat void

OnTextInputRts() public méthode

public OnTextInputRts ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

KeyDown public_oe property

public Action KeyDown
Résultat Action