public virtual GameState OnInput(QuizMain game_instance, Atomic.ButtonEvent input) { //return null; if (input == Atomic.ButtonEvent.Menu) { Data.Reset(); } return(null); }
void Atomic.IEventListener.ListenEvent(Atomic.ButtonEvent ev) { StateFunction(state.OnInput(this, ev)); }