Exemple #1
0
 public BombBulletDescriptor(BaseBulletDescriptor BaseBulletDesc, Vector2 TargetPos, float Speed, float Radius)
 {
     this.BaseBulletDesc = BaseBulletDesc;
     this.TargetPos      = TargetPos;
     this.Speed          = Speed;
     this.Radius         = Radius;
 }
Exemple #2
0
 public TrackBulletDescriptor(BaseBulletDescriptor BaseBulletDesc, string ResName, BaseNpc Target, float Speed)
 {
     this.BaseBulletDesc = BaseBulletDesc;
     this.ResName        = ResName;
     this.Target         = Target;
     this.Speed          = Speed;
 }
Exemple #3
0
 public ArrowBulletDescriptor(BaseBulletDescriptor BaseBulletDesc, Vector2 TargetPos, float Speed, Color ArrowColor)
 {
     this.BaseBulletDesc = BaseBulletDesc;
     this.TargetPos      = TargetPos;
     this.Speed          = Speed;
     this.ArrowColor     = ArrowColor;
 }
Exemple #4
0
 protected BaseBullet(Transform Trans, BulletType Type, BaseBulletDescriptor Desc)
     : base(Desc.Name, Trans)
 {
     this.Type     = Type;
     this.Position = Desc.Position;
     this.Team     = Desc.Team;
     this.Damage   = Desc.Damage;
 }
Exemple #5
0
 public BackBulletDescriptor(BaseBulletDescriptor BaseBulletDesc, Vector2 Direction, float Distance, Vector2 Size, float Speed)
 {
     this.BaseBulletDesc = BaseBulletDesc;
     this.Direction      = Direction;
     this.Distance       = Distance;
     this.Size           = Size;
     this.Speed          = Speed;
 }
Exemple #6
0
 public LaserBulletDescriptor(BaseBulletDescriptor BaseBulletDesc, float BeginAngle, float EndAngle, float StepAngle, float Radius)
 {
     this.BaseBulletDesc = BaseBulletDesc;
     this.BeginAngle     = BeginAngle;
     this.EndAngle       = EndAngle;
     this.StepAngle      = StepAngle;
     this.Radius         = Radius;
 }