コード例 #1
0
        public TapTitan()
        {
            graphics = new GraphicsDeviceManager(this);

            this.content = Content;
            level = new Level(content);

            graphics.PreferredBackBufferWidth = Level.windowWidth;
            graphics.PreferredBackBufferHeight = Level.windowHeight;
            Content.RootDirectory = "Content";

            this.IsMouseVisible = true;
        }
コード例 #2
0
 public Hero(ContentManager content, Level level, int varA)
 {
     this.content = content;
     this.level = level;
     this.recycle = varA;
 }