public Game1()
        {
            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;
        }
Exemplo n.º 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;
 }