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