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);
        }