コード例 #1
0
 public SSCProjectile(object Owner, AnimatedSprite Sprite, Rectangle HitBox, Vector2 Position, Vector2 Direction, float Speed, int LifeSpan, float Scale, int damage, SSCStatusEffects.StatusEffect Effect = null)
 {
     this.sprite          = Sprite;
     this.hitBox          = HitBox;
     this.direction       = Direction;
     this.speed           = Speed;
     this.position        = Position;
     this.scale           = Scale;
     this.maxLifeSpan     = LifeSpan;
     this.currentLifeSpan = LifeSpan;
     this.owner           = Owner;
     this.damage          = damage;
     this.effect          = Effect;
 }
コード例 #2
0
 public SSC_FireProjectile(object Owner, AnimatedSprite Sprite, Rectangle HitBox, Vector2 Position, Vector2 Direction, float Speed, int LifeSpan, float Scale, int damage, SSCStatusEffects.StatusEffect Effect = null) : base(Owner, Sprite, HitBox, Position, Direction, Speed, LifeSpan, Scale, damage, Effect)
 {
 }