#pragma once #include "MW4.hpp" #include "hudcomp.hpp" namespace MechWarrior4 { class HUDCamera : public HUDComponent { protected: typedef HUDComponent inherited; HUDText *m_FactionName,*m_LifeGoneText; HUDText *m_FollowName; void DrawImplementation(void); Stuff::Time m_Time; Stuff::Time m_EndTime; public: HUDCamera(); ~HUDCamera(); virtual void Update (Stuff::Time till); void OutOfLives (void); void FollowName (const char *name) { m_FollowName->UpdateText (name); } void FactionName (const char *name) { m_FactionName->UpdateText (name); } }; }