1 #ifndef __HUDSCENENODE_H__
2 #define __HUDSCENENODE_H__
3 
4 #include "../SharedDefines.h"
5 #include "../Scene/SceneNodes.h"
6 
7 class SDL2HUDSceneNode : public SceneNode
8 {
9 public:
10     SDL2HUDSceneNode(const uint32 actorId,
11         BaseRenderComponent* pRenderComponent,
12         RenderPass renderPass,
13         Point position,
14         bool visible);
15 
16     virtual ~SDL2HUDSceneNode();
17 
18     // Interface overrides
19     virtual void VRender(Scene* pScene);
IsVisible(Scene * pScene)20     virtual bool IsVisible(Scene* pScene) const { return m_IsActive; }
SetVisible(bool visible)21     virtual void SetVisible(bool visible) { m_IsActive = visible; }
22 
23 protected:
24     bool m_IsActive;
25 };
26 
27 #endif