/// <summary> /// The main entry point for the application. /// </summary> static void Main() { AppDomain.CurrentDomain.UnhandledException += OnUnhandledException; Game game = new BoxGame(); game.Start(); }
public EditorUI(BoxGame boxGame) : this() { this.showMapUI.BoxGame = boxGame; this.seStage.Value = this.BoxGame.Stage; }
public ShowMapDesignUI(BoxGame boxGame) : base(boxGame) { }
public ShowMapUI(BoxGame boxGame) : this() { this.boxGame = boxGame; }
protected void BoxSystemGuessEventFilter(BoxGame.GuessEvent data) { var BoxItems = BoxManager.Components; for (var BoxIndex = 0 ; BoxIndex < BoxItems.Count; BoxIndex++ ) { this.BoxSystemGuessEventHandler(data, BoxItems[BoxIndex]); } }
protected void BoxSystemGuessEventHandler(BoxGame.GuessEvent data, Box group) { var handler = BoxSystemGuessEventHandlerInstance;; handler.System = this; handler.Event = data; handler.Group = group; handler.Execute(); }
protected void PerformGuessFilter(BoxGame.GuessEvent data) { var GuessLabelItems = GuessLabelManager.Components; for (var GuessLabelIndex = 0 ; GuessLabelIndex < GuessLabelItems.Count; GuessLabelIndex++ ) { this.PerformGuessHandler(data, GuessLabelItems[GuessLabelIndex]); } }
protected void PerformGuessHandler(BoxGame.GuessEvent data, GuessLabel group) { var handler = PerformGuessHandlerInstance;; handler.System = this; handler.Event = data; handler.Group = group; handler.Execute(); }
protected void NumberGuessSystemHigherEventHandler(BoxGame.HigherEvent data) { var handler = NumberGuessSystemHigherEventHandlerInstance;; handler.System = this; handler.Event = data; handler.Execute(); }
protected void NumberGuessSystemHigherEventFilter(BoxGame.HigherEvent data) { this.NumberGuessSystemHigherEventHandler(data); }
protected void GuessedLowerHandler(BoxGame.LowerEvent data, GuessLabel group) { var handler = GuessedLowerHandlerInstance;; handler.System = this; handler.Event = data; handler.Group = group; handler.Execute(); }
protected void GuessedLowerFilter(BoxGame.LowerEvent data) { var GuessLabelItems = GuessLabelManager.Components; for (var GuessLabelIndex = 0 ; GuessLabelIndex < GuessLabelItems.Count; GuessLabelIndex++ ) { this.GuessedLowerHandler(data, GuessLabelItems[GuessLabelIndex]); } }
public EditorFrm(BoxGame boxGame) : this() { this.editorUI.BoxGame = boxGame; }