forked from ange-yaghi/engine-sim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d39b3d
commit cd207ca
Showing
16 changed files
with
285 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.