コード例 #1
0
ファイル: Credits.cs プロジェクト: jbornemann/Ascian
 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);
 }
コード例 #2
0
ファイル: ControllerInput.cs プロジェクト: jbornemann/Ascian
 public static void handleCreditCommands(ref Credits credit)
 {
     keypressed = Keyboard.GetState();
     if (keypressed.IsKeyDown(Keys.Escape))
         credit.exit();
 }