예제 #1
0
        public ControllerGame(GameWindow form)
            : base(form)
        {
            this.model = new ModelGame(this);

            timer.Tick += new EventHandler(GameLoop);
            timer.Interval = 16;
            timer.Start();
        }
예제 #2
0
 public ControllerMenu(GameWindow form)
     : base(form)
 {
     this.model = new ModelMenu(this);
 }
예제 #3
0
 public ControllerHighscores(GameWindow form)
     : base(form)
 {
     this.model = new ModelHighscores(this);
 }
예제 #4
0
 public ControllerLevelSelect(GameWindow form)
     : base(form)
 {
     this.model = new ModelLevelSelect(this);
 }
예제 #5
0
 public ControllerEditor(GameWindow form)
     : base(form)
 {
     this.model = new ModelEditor(this);
     this.modelEditor = (ModelEditor)model;
 }
예제 #6
0
 public Controller(GameWindow form)
 {
     this.gameWindow = form;
 }
예제 #7
0
 public ControllerHighscoreInput(GameWindow form)
     : base(form)
 {
     this.model = new ModelHighscoreInput(this);
     modelHighscoreInput = (ModelHighscoreInput)model;
 }
예제 #8
0
 public ControllerEditorSelect(GameWindow form)
     : base(form)
 {
     this.model = new ModelEditorSelect(this);
     modelEditorSelect = (ModelEditorSelect)model;
 }
 public PlayerController(GameWindow gameWindow)
     : base(gameWindow)
 {
 }
예제 #10
0
 public ControllerMenu(GameWindow form) : base(form)
 {
     this.model = new ModelMenu(this);
 }
예제 #11
0
 public ControllerHighscores(GameWindow form) : base(form)
 {
     this.model = new ModelHighscores(this);
 }
예제 #12
0
 public ControllerLevelSelect(GameWindow form) : base(form)
 {
     this.model = new ModelLevelSelect(this);
 }
예제 #13
0
 public Controller(GameWindow form)
 {
     this.gameWindow = form;
 }