Свойство | Тип | Описание | |
---|---|---|---|
OnBackPress | ButtonPressed | ||
OnHitKeyPressed | ButtonPressed | ||
OnHitKeyUp | ButtonUp | ||
OnHitkeyDown | ButtonDown | ||
OnNavigation | NavigationKey | ||
OnShieldKeyPressed | ButtonPressed | ||
OnShieldKeyUp | ButtonUp | ||
OnShieldkeyDown | ButtonDown | ||
OnStartPress | ButtonPressed | ||
OnSuperKeyPressed | ButtonPressed | ||
OnSuperKeyUp | ButtonUp | ||
OnSuperkeyDown | ButtonDown |
Метод | Описание | |
---|---|---|
Deactivate ( ) : void | ||
GamepadController ( |
||
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
OnNext ( GameStateManager value ) : void | ||
Unload ( ) : void | ||
Update ( |
Метод | Описание | |
---|---|---|
IsKeyDown ( Keys key ) : bool | ||
IsKeyPressed ( Keys key ) : bool |
Checks the old keyboard state agianst the current keyboard state to determin if a key was pressed
|
|
IsKeyPressedReversed ( Keys key ) : bool | ||
IsKeyUp ( Keys key ) : bool |
Метод | Описание | |
---|---|---|
UpdateTimer ( Keys key, Buttons button, float directionX, float directionY, float elapsedTime, ButtonDown downAction, ButtonUp upAction, ButtonPressed pressAction, float &downTimer, float &upTimer ) : void | ||
UpdateTimers ( |
||
isControllerPressed ( Buttons button ) : bool | ||
updateNavigation ( ) : void |
public GamepadController ( |
||
screen | ||
playerModel | Player | |
Результат | System |
protected IsKeyPressed ( Keys key ) : bool | ||
key | Keys | Which key was pressed |
Результат | bool |
protected IsKeyPressedReversed ( Keys key ) : bool | ||
key | Keys | |
Результат | bool |
public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | void |
public OnNext ( GameStateManager value ) : void | ||
value | GameStateManager | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |
public ButtonPressed OnShieldKeyPressed | ||
Результат | ButtonPressed |