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; }
//int oldScrollWheelValue = 0; public Hero(ContentManager content, Level level) { this.content = content; this.level = level; }