public void Loadcontent(ContentManager content, string name) { body = content.Load <Texture2D>(name); animation = new AnimationFromBoss(); animation.LoadContent(content, "effect1"); players.Loadcontent(body); }
public void LoadContent(ContentManager content, Vector2 velocity, string name) { bullet = content.Load <Texture2D>(name); bulletBoss = new Animation(50, 60, true, 200, 3, 4); bulletBoss.Loadcontent(bullet); this.velocity = velocity; Active = true; }
public void Loadcontent(ContentManager content, string name, string nameskill) { this.nameskill = nameskill; bulletBoss = new List <BulletBoss>(); body = content.Load <Texture2D>(name); miniBoss.Loadcontent(body); position = new Vector2(50, 50); this.Content = content; }
public void Loadcontent(ContentManager content, string name, Vector2 pos) { body = content.Load <Texture2D>(name); zombies.Loadcontent(body); position = pos; }
public void LoadContent(ContentManager content, string nameOfskill) { Skill = new Animation(200, 200, true, 150, 5, 5); Skill.Loadcontent(content.Load <Texture2D>(nameOfskill)); }