예제 #1
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);

            this.content = Content;
            level = new Level(content);
            graphics.PreferredBackBufferWidth = 800;
            graphics.PreferredBackBufferHeight = 800;
            Content.RootDirectory = "Content";

            this.IsMouseVisible = true;
        }
예제 #2
0
 public Hero(ContentManager content, Level level)
 {
     this.content = content;
     this.level = level;
 }
 public Support(ContentManager content, Level level)
 {
     this.content = content;
     this.level = level;
 }