Exemple #1
0
 protected void RaiseControlActionEvent(EControlAction aAction, object arg)
 {
     if (ControlActionEvent != null)
     {
         ControlActionEvent(aAction, arg);
     }
 }
Exemple #2
0
        public void InvokeAction(EControlAction aAction, object arg)
        {
            switch (aAction)
            {
            case EControlAction.GameOver:
                StopGameDelayed(2000);
                break;

            default:
                break;
            }
        }