forked from ange-yaghi/engine-sim
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinfo_cluster.h
More file actions
31 lines (21 loc) · 703 Bytes
/
info_cluster.h
File metadata and controls
31 lines (21 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef ATG_ENGINE_SIM_INFO_CLUSTER_H
#define ATG_ENGINE_SIM_INFO_CLUSTER_H
#include "ui_element.h"
#include "engine.h"
#include <string>
class InfoCluster : public UiElement {
public:
InfoCluster();
virtual ~InfoCluster();
virtual void initialize(EngineSimApplication *app);
virtual void destroy();
virtual void update(float dt);
virtual void render();
void setEngine(Engine *engine) { m_engine = engine; }
void setLogMessage(const std::string &logMessage) { m_logMessage = logMessage; }
std::string getLogMessage() const { return m_logMessage; }
protected:
Engine *m_engine;
std::string m_logMessage;
};
#endif /* ATG_ENGINE_SIM_INFO_CLUSTER_H */