Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
hudobjectdelegate.h
1 #pragma once
2 
3 #include "utils/handle/handle.h"
4 
5 
6 class HUD;
7 class Hudget;
8 class ObjectHudget;
9 class WorldObject;
10 
11 /*
12  Handle to a WorldObject that also references the Hudget this
13  WorldObject is represented by on the HUD
14 */
16 public:
17  HUDObjectDelegate(HUD* hud, WorldObject* worldObject, ObjectHudget* hudget);
18 
19  HUD* hud();
20  WorldObject* worldObject();
21  ObjectHudget* hudget();
22 
23 
24 protected:
25  HUD* m_hud;
26  Handle<WorldObject> m_worldObjectHandle;
27  ObjectHudget* m_hudget;
28 };
29 
Definition: hudget.h:15
Definition: worldobject.h:43
Definition: hudobjectdelegate.h:15
Definition: hud.h:34
Definition: objecthudget.h:15