Exemplo n.º 1
0
 public Enemy_0001B(double x, double y, int hp, int transFrame, int fairyKind, int shotType, int dropItemType, double speed)
     : base(x, y, Kind_e.ENEMY, hp, transFrame)
 {
     this.Fairy = new EnemyCommon.FairyInfo()
     {
         Enemy = this,
         Kind  = fairyKind,
     };
     this.ShotType     = shotType;
     this.DropItemMode = dropItemType;
     this.Speed        = speed;
 }
Exemplo n.º 2
0
 public Enemy_0002(double x, double y, int hp, int transFrame, int fairyKind, int shotType, int dropItemType, double targetX, double targetY, double xAdd, double yAdd, double approachingRate)
     : base(x, y, Kind_e.ENEMY, hp, transFrame)
 {
     this.Fairy = new EnemyCommon.FairyInfo()
     {
         Enemy = this,
         Kind  = fairyKind,
     };
     this.ShotType        = shotType;
     this.DropItemMode    = dropItemType;
     this.TargetX         = targetX;
     this.TargetY         = targetY;
     this.XAdd            = xAdd;
     this.YAdd            = yAdd;
     this.ApproachingRate = approachingRate;
 }
Exemplo n.º 3
0
 public Enemy_0003(double x, double y, int hp, int transFrame, int fairyKind, int shotType, int dropItemType, double targetX, double targetY, int evacuateFrame, double evacuateXAdd, double evacuateYAdd)
     : base(x, y, Kind_e.ENEMY, hp, transFrame)
 {
     this.Fairy = new EnemyCommon.FairyInfo()
     {
         Enemy = this,
         Kind  = fairyKind,
     };
     this.ShotType      = shotType;
     this.DropItemMode  = dropItemType;
     this.TargetX       = targetX;
     this.TargetY       = targetY;
     this.EvacuateFrame = evacuateFrame;
     this.EvacuateXAdd  = evacuateXAdd;
     this.EvacuateYAdd  = evacuateYAdd;
 }
Exemplo n.º 4
0
 public Enemy_0001(double x, double y, int hp, int transFrame, int fairyKind, int shotType, int dropItemType, double speed, int xDir, double maxY, double approachingRate)
     : base(x, y, Kind_e.ENEMY, hp, transFrame)
 {
     this.Fairy = new EnemyCommon.FairyInfo()
     {
         Enemy = this,
         Kind  = fairyKind,
     };
     this.ShotType        = shotType;
     this.DropItemMode    = dropItemType;
     this.TargetX         = x;
     this.TargetY         = y;
     this.Speed           = speed;
     this.XDir            = xDir;
     this.MaxY            = maxY;
     this.ApproachingRate = approachingRate;
 }