コード例 #1
0
ファイル: PlayScene.cs プロジェクト: nehpe/monogamejam-2018
        public PlayScene(MGJamGame Game, GraphicsDevice Graphics) : base(Game, Graphics)
        {
            Target = new RenderTarget2D(Graphics, GameVars.GAME_WIDTH, GameVars.GAME_HEIGHT,
                                        false, Graphics.PresentationParameters.BackBufferFormat,
                                        DepthFormat.Depth24);

            Batch = new SpriteBatch(Graphics);
            sq    = Utilities.Block.ColorBlock(2, Color.Red, Graphics);
        }
コード例 #2
0
 public DeathScene(MGJamGame Game, GraphicsDevice Graphics) : base(Game, Graphics)
 {
 }
コード例 #3
0
ファイル: EndScene.cs プロジェクト: nehpe/monogamejam-2018
 public EndScene(MGJamGame Game, GraphicsDevice Graphics) : base(Game, Graphics)
 {
 }
コード例 #4
0
ファイル: IntroScene.cs プロジェクト: nehpe/monogamejam-2018
 public IntroScene(MGJamGame Game, GraphicsDevice Graphics) : base(Game, Graphics)
 {
 }
コード例 #5
0
ファイル: BaseScene.cs プロジェクト: nehpe/monogamejam-2018
 public BaseScene(MGJamGame Game, GraphicsDevice Graphics)
 {
     this.Game     = Game;
     this.Graphics = Graphics;
 }