/// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() { // Verwijzing naar het object van type Game1 wordt opgeslagen in instance instance = this; _menu = new Menu(); base.Initialize(); }
public void Reset() { _active = false; _menu = new Menu(); }