コード例 #1
0
 public void Loadcontent(ContentManager content, string name)
 {
     body      = content.Load <Texture2D>(name);
     animation = new AnimationFromBoss();
     animation.LoadContent(content, "effect1");
     players.Loadcontent(body);
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 public void Loadcontent(ContentManager content, string name, Vector2 pos)
 {
     body = content.Load <Texture2D>(name);
     zombies.Loadcontent(body);
     position = pos;
 }
コード例 #5
0
 public void LoadContent(ContentManager content, string nameOfskill)
 {
     Skill = new Animation(200, 200, true, 150, 5, 5);
     Skill.Loadcontent(content.Load <Texture2D>(nameOfskill));
 }