コード例 #1
0
ファイル: Program.cs プロジェクト: 4669842/GameEngine
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
            Game game = new BoxGame();

            game.Start();
        }
コード例 #2
0
 public EditorUI(BoxGame boxGame)
     : this()
 {
     this.showMapUI.BoxGame = boxGame;
     this.seStage.Value     = this.BoxGame.Stage;
 }
コード例 #3
0
ファイル: ShowMapDesignUI.cs プロジェクト: ztinybing/PushBox
 public ShowMapDesignUI(BoxGame boxGame)
     : base(boxGame)
 {
 }
コード例 #4
0
ファイル: ShowMapUI.cs プロジェクト: ztinybing/PushBox
 public ShowMapUI(BoxGame boxGame)
     : this()
 {
     this.boxGame = boxGame;
 }
コード例 #5
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
     Game game = new BoxGame();
     game.Start();
 }
コード例 #6
0
 protected void BoxSystemGuessEventFilter(BoxGame.GuessEvent data)
 {
     var BoxItems = BoxManager.Components;
     for (var BoxIndex = 0
     ; BoxIndex < BoxItems.Count; BoxIndex++
     ) {
         this.BoxSystemGuessEventHandler(data, BoxItems[BoxIndex]);
     }
 }
コード例 #7
0
 protected void BoxSystemGuessEventHandler(BoxGame.GuessEvent data, Box group)
 {
     var handler = BoxSystemGuessEventHandlerInstance;;
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     handler.Execute();
 }
コード例 #8
0
 protected void PerformGuessFilter(BoxGame.GuessEvent data)
 {
     var GuessLabelItems = GuessLabelManager.Components;
     for (var GuessLabelIndex = 0
     ; GuessLabelIndex < GuessLabelItems.Count; GuessLabelIndex++
     ) {
         this.PerformGuessHandler(data, GuessLabelItems[GuessLabelIndex]);
     }
 }
コード例 #9
0
 protected void PerformGuessHandler(BoxGame.GuessEvent data, GuessLabel group)
 {
     var handler = PerformGuessHandlerInstance;;
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     handler.Execute();
 }
コード例 #10
0
 protected void NumberGuessSystemHigherEventHandler(BoxGame.HigherEvent data)
 {
     var handler = NumberGuessSystemHigherEventHandlerInstance;;
     handler.System = this;
     handler.Event = data;
     handler.Execute();
 }
コード例 #11
0
 protected void NumberGuessSystemHigherEventFilter(BoxGame.HigherEvent data)
 {
     this.NumberGuessSystemHigherEventHandler(data);
 }
コード例 #12
0
 protected void GuessedLowerHandler(BoxGame.LowerEvent data, GuessLabel group)
 {
     var handler = GuessedLowerHandlerInstance;;
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     handler.Execute();
 }
コード例 #13
0
 protected void GuessedLowerFilter(BoxGame.LowerEvent data)
 {
     var GuessLabelItems = GuessLabelManager.Components;
     for (var GuessLabelIndex = 0
     ; GuessLabelIndex < GuessLabelItems.Count; GuessLabelIndex++
     ) {
         this.GuessedLowerHandler(data, GuessLabelItems[GuessLabelIndex]);
     }
 }
コード例 #14
0
ファイル: EditorFrm.cs プロジェクト: ztinybing/PushBox
 public EditorFrm(BoxGame boxGame)
     : this()
 {
     this.editorUI.BoxGame = boxGame;
 }