Azmyth.XNA.InputManager.PadPressed C# (CSharp) Метод

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

public static PadPressed ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
Результат bool
        public static bool PadPressed(PlayerIndex player, Buttons button)
        {
            return m_padState[(int)player].IsButtonDown(button) && m_lastPadState[(int)player].IsButtonUp(button);
        }