Exemplo n.º 1
0
 public override void Init()
 {
     this.dammy = new DammyEnemy(this.sound, this.parent, this.position.X, this.position.Y, this, true)
     {
         nohit = true
     };
 }
Exemplo n.º 2
0
 public override void Init()
 {
     if (this.parent == null)
     {
         return;
     }
     this.shadow         = new EnemyShadow(this.sound, this.parent, this, this.union == Panel.COLOR.red);
     this.shadow.slide.X = this.union == Panel.COLOR.red ? -16 : 0;
     this.parent.effects.Add(shadow);
     this.dammy = new DammyEnemy(this.sound, this.parent, this.position.X, this.position.Y, this, true)
     {
         nohit = true
     };
 }