public NPC(Vector2 position, float fov = 60) : base(position) { FOV = fov; walkAnimation = Animations.NPC.CreateAnimation(); alertedAnimation = Animations.NPCAlerted.CreateAnimation(); }
public Monster(Vector2 position) : base(position) { animation = Animations.Monster.CreateAnimation(); }
public void RemoveAnimation(Animation animation) { anims.Remove(animation.Action); }
public void AddAnimation(Animation animation) { anims[animation.Action] = animation; }