/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); game_map = new Map.Map(Form.ViewportSize.Width, Form.ViewportSize.Height, this.Content, player); vandal = new Characters.Vandal(this.Content, new Rectangle(0, 0, 50, 50), Form.ViewportSize.Width, Form.ViewportSize.Height); }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); game_map = new Map.Map(Form.ViewportSize.Width, Form.ViewportSize.Height,this.Content,player); vandal = new Characters.Vandal(this.Content, new Rectangle(0, 0, 50, 50),Form.ViewportSize.Width,Form.ViewportSize.Height); }