private void Do(DebugLevelAction call) { switch (call) { case DebugLevelAction.ThrowException: throw new NotImplementedException(); case DebugLevelAction.CallAddScreenHighlight: this.AddScreenHighlight(highlight); break; case DebugLevelAction.CallGetMap: this.GetMap(); break; case DebugLevelAction.CallInit: this.Init(null); break; case DebugLevelAction.CallInsertItem: this.InsertItem(gameItem); break; case DebugLevelAction.CallNextState: this.NextState(); break; case DebugLevelAction.CallRemoveItemWithoutAdd: this.RemoveItem(gameItem); break; case DebugLevelAction.CallRemoveItemWithAdd: this.InsertItem(gameItem); this.RemoveItem(gameItem); break; case DebugLevelAction.CallRegisterTrigger: this.RegisterTrigger(trigger); break; case DebugLevelAction.CallUnregisterTrigger: this.UnregisterTrigger(trigger); break; case DebugLevelAction.CallFinish0: this.Finish(0); break; case DebugLevelAction.CallFinish2: this.Finish(2); break; case DebugLevelAction.CallFail0: this.Fail(0); break; case DebugLevelAction.CallFail2: this.Fail(2); break; case DebugLevelAction.CallDraw: this.Draw(); break; } }