																																																																
#pragma once

#include "MW4.hpp"
#include "hudcomp.hpp"

namespace MechWarrior4
{
	class Objective;

	class HUDObjective : public HUDComponent
	{
	protected:
		struct ObjectiveData
		{
			HUDText *m_Text;
			Objective *m_Objective;
			ObjectiveData (HUDText *p1,Objective *p2)
			{
				m_Text = p1;
				m_Objective = p2;
			}
		};
		typedef HUDComponent inherited;

		stlport::vector<ObjectiveData> m_Objectives;

		void DrawImplementation(void);
		void AddObjective (Objective *obj);
		void KillList (void);

	public:
		HUDObjective();
		~HUDObjective();
		virtual void Reset (void);

	};
}

