C# Класс EzGame.Input.XboxPad

Показать файл Открыть проект

Открытые методы

Метод Описание
Holding ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad is being held

Pressed ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad has been pressed

Released ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool

Check if a buttton on a pad has been released

Update ( GameTime Time ) : void

Описание методов

Holding() публичный статический Метод

Check if a buttton on a pad is being held
public static Holding ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
Результат bool

Pressed() публичный статический Метод

Check if a buttton on a pad has been pressed
public static Pressed ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
Результат bool

Released() публичный статический Метод

Check if a buttton on a pad has been released
public static Released ( Buttons Button, PlayerIndex PlayerIndex = null ) : bool
Button Buttons The xbox pad button, to check.
PlayerIndex PlayerIndex The pad (index) to check, use null for ANY pad.
Результат bool

Update() публичный статический Метод

public static Update ( GameTime Time ) : void
Time Microsoft.Xna.Framework.GameTime
Результат void