public void SendEvent(FSMEvent ev) { if (CurState == null) { return; } if (CurState.OnEvent(ev)) { return; } _curEvent = ev; }