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