public Golem(string name, Vector2 initialPos, int health, List<String> anims = null) : base(name, new Actor(anims == null ? Animations : anims), 1, health) { movementStartTime = new TimeSpan(0, 0, 1); Personality = new SentinelPersonality(this); ElementType = Element.Normal; SpawnPoint = initialPos; This.Game.AudioManager.AddSoundEffect("Effects/Golem_Attack"); This.Game.AudioManager.AddSoundEffect("Effects/Golem_Move"); MovementAudioName = "Effects/Golem_Move"; This.Game.AudioManager.InitializeLoopingSoundEffect(MovementAudioName); isDieEffectEnabled = true; }
public Golem(string name, Vector2 initialPos, int health, List <String> anims = null) : base(name, new Actor(anims == null ? Animations : anims), 1, health) { movementStartTime = new TimeSpan(0, 0, 1); Personality = new SentinelPersonality(this); ElementType = Element.Normal; SpawnPoint = initialPos; This.Game.AudioManager.AddSoundEffect("Effects/Golem_Attack"); This.Game.AudioManager.AddSoundEffect("Effects/Golem_Move"); MovementAudioName = "Effects/Golem_Move"; This.Game.AudioManager.InitializeLoopingSoundEffect(MovementAudioName); isDieEffectEnabled = true; }