#pragma once #include "MW4.hpp" #include "hudcomp.hpp" namespace MechWarrior4 { class HUDHelpArrow : public HUDComponent { protected: typedef HUDComponent inherited; Scalar m_Rotation; void DrawImplementation(void); Stuff::Time m_AlphaTime; int m_Alpha; Scalar m_GoalTime; Scalar m_RotationDelta; Scalar m_XDelta; Scalar m_YDelta; Scalar m_LastUpdate; public: HUDHelpArrow(); ~HUDHelpArrow(); virtual void Update (Stuff::Time till); void SetRot (Scalar rot) { m_Rotation = rot; } void SetParams(Stuff::Scalar rotation, Stuff::Scalar x, Stuff::Scalar y, int color, int time = 0); }; }