예제 #1
0
        public Actor(Ability ability)
        {
            Owning.Unit = ability.Owner;
            Owning.Ability = ability;

            HitObjects = new List<GameObject>();
            spriteEffect = SpriteEffects.None;

            // Defaults;
            Invulnerable = true;
            Floating = true;
        }
예제 #2
0
        // Move into global
        public Actor(Ability ability, SingleAnimation animation, Vector2 position)
        {
            this.unitOwner = ability.UnitOwner;
            this.abilityOwner = ability;

            this.animation = animation;
            this.position = position;
        }