public Credits(ref global_vars vars, ref Game1 game) : base(game) { this.game = game; this.variables = vars; thisCredit = this; area = new Rectangle(0, 0, variables.screen_width, variables.screen_height); }
public static void handleCreditCommands(ref Credits credit) { keypressed = Keyboard.GetState(); if (keypressed.IsKeyDown(Keys.Escape)) credit.exit(); }