mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(gameui): add CGWorldFrame class skeleton
This commit is contained in:
parent
88e21b4a22
commit
41f4992ebe
8 changed files with 90 additions and 4 deletions
22
src/gameui/CGWorldFrame.hpp
Normal file
22
src/gameui/CGWorldFrame.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef GAME_UI_CGWORLDFRAME_HPP
|
||||
#define GAME_UI_CGWORLDFRAME_HPP
|
||||
|
||||
#include "ui/CSimpleFrame.hpp"
|
||||
#include "ui/CSimpleTop.hpp"
|
||||
|
||||
class CGWorldFrame : public CSimpleFrame {
|
||||
public:
|
||||
CGWorldFrame(CSimpleFrame* parent);
|
||||
|
||||
virtual void OnFrameRender(CRenderBatch* batch, uint32_t layer);
|
||||
|
||||
static CSimpleFrame* Create(CSimpleFrame* parent);
|
||||
static void RenderWorld(void* param);
|
||||
static void OnWorldUpdate();
|
||||
static void OnWorldRender();
|
||||
|
||||
public:
|
||||
static CGWorldFrame* s_currentWorldFrame;
|
||||
};
|
||||
|
||||
#endif // GAME_UI_CGWORLDFRAME_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue