2022-11-26 13:22:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <SDL_events.h>
|
|
|
|
#include "core/Module.h"
|
|
|
|
|
|
|
|
class GameModule : public ShadowEngine::Module {
|
|
|
|
|
|
|
|
SHObject_Base(GameModule)
|
|
|
|
|
|
|
|
std::string tets = "asdasd";
|
|
|
|
public:
|
|
|
|
void PreInit() override;
|
|
|
|
|
|
|
|
void Init() override;
|
|
|
|
|
2022-11-26 16:44:16 +00:00
|
|
|
void Update(int frame) override;
|
2022-11-26 13:22:36 +00:00
|
|
|
|
|
|
|
void PreRender() override;
|
|
|
|
|
2022-11-26 16:44:16 +00:00
|
|
|
void Recreate() override;
|
2022-11-26 13:22:36 +00:00
|
|
|
|
2022-11-26 16:44:16 +00:00
|
|
|
void OverlayRender() override;
|
|
|
|
|
|
|
|
void Render(VkCommandBuffer& commands, int frame) override;
|
|
|
|
|
|
|
|
void LateRender(VkCommandBuffer& commands, int frame) override;
|
2022-11-26 13:22:36 +00:00
|
|
|
|
|
|
|
void AfterFrameEnd() override;
|
|
|
|
|
|
|
|
void Destroy() override;
|
|
|
|
|
|
|
|
void Event(SDL_Event*) override;
|
|
|
|
|
|
|
|
};
|