Beispiel #1
0
 public Hitbox_Gameplay(Hitbox_Gameplay _other)
 {
     HitboxType       = _other.HitboxType;
     Position         = _other.Position;
     Width            = _other.Width;
     RemainingTime    = _other.RemainingTime;
     HasStruck        = _other.HasStruck;
     ID               = ID_Counter++;
     AttackAttribute  = _other.AttackAttribute;
     HurtboxAttribute = _other.HurtboxAttribute;
 }
Beispiel #2
0
 public Hitbox_Gameplay()
 {
     HitboxType       = GameplayEnums.HitboxType.Hitbox_Attack;
     Position         = 0;
     Width            = 0;
     RemainingTime    = -1;
     HasStruck        = false;
     ID               = ID_Counter++;
     AttackAttribute  = GameplayEnums.AttackAttribute.NotAttack;
     HurtboxAttribute = GameplayEnums.HurtboxAttribute.Normal;
 }