public Actor(Ability ability) { Owning.Unit = ability.Owner; Owning.Ability = ability; HitObjects = new List<GameObject>(); spriteEffect = SpriteEffects.None; // Defaults; Invulnerable = true; Floating = true; }
// Move into global public Actor(Ability ability, SingleAnimation animation, Vector2 position) { this.unitOwner = ability.UnitOwner; this.abilityOwner = ability; this.animation = animation; this.position = position; }