示例#1
0
文件: FrostOwl.cs 项目: nemec/4Realms
        public FrostOwl(string name, Vector2 initialPosition)
            : base(name, new Actor(Animations), 5, 40)
        {
            SpawnPoint = initialPosition;
            movementStartTime = new TimeSpan(0, 0, 1);
            Personality = new SwoopingPersonality(this);
            //Personality = new ChargePersonality(this);
            ElementType = Element.Water;

            This.Game.AudioManager.AddSoundEffect("Effects/Owl_Move");
            if (MovementAudioName == null)
            {
                MovementAudioName = "Effects/Owl_Move";
                This.Game.AudioManager.InitializeLoopingSoundEffect(MovementAudioName, .03f);
            }

            isDieEffectEnabled = true;
        }
示例#2
0
文件: FrostOwl.cs 项目: nemec/4Realms
        public FrostOwl(string name, Vector2 initialPosition)
            : base(name, new Actor(Animations), 5, 40)
        {
            SpawnPoint        = initialPosition;
            movementStartTime = new TimeSpan(0, 0, 1);
            Personality       = new SwoopingPersonality(this);
            //Personality = new ChargePersonality(this);
            ElementType = Element.Water;

            This.Game.AudioManager.AddSoundEffect("Effects/Owl_Move");
            if (MovementAudioName == null)
            {
                MovementAudioName = "Effects/Owl_Move";
                This.Game.AudioManager.InitializeLoopingSoundEffect(MovementAudioName, .03f);
            }

            isDieEffectEnabled = true;
        }