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