예제 #1
0
 public GameForm(MainMenuForm mainmenu)
 {
     InitializeComponent();
     this.ControlBox   = false;
     this.mainmenu     = mainmenu;
     this.hero         = new Hero();
     GameLoop.Interval = 1000 / preferredTickrate; // 60 fps
     this.Focus();
 }
예제 #2
0
        public HighscoresForm(MainMenuForm mainmenu)
        {
            InitializeComponent();
            this.ControlBox = false;
            this.mainmenu   = mainmenu;
            this.config     = new ConfigurationHelper();

            ShowHighscores();
        }