/** * Returns true if button b has been pressed since last buffer reset **/ private bool IsButtonDown(InterfaceButtons b) { return(mButtonsActivated[(int)b]); }
/** * Memorizes that button b has been triggered **/ private void SetButtonDown(InterfaceButtons b) { mButtonsActivated[(int)b] = true; }