mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-12-15 23:08:34 +03:00
TMP / Fixed game.cpp
This commit is contained in:
11
main/game.h
11
main/game.h
@@ -1,11 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "rendering.h"
|
||||
#include "util.h"
|
||||
|
||||
namespace progressia::main {
|
||||
|
||||
void initialize(GraphicsInterface &);
|
||||
void renderTick();
|
||||
void shutdown();
|
||||
class Game : private NonCopyable {
|
||||
public:
|
||||
virtual ~Game() = default;
|
||||
virtual void renderTick() = 0;
|
||||
};
|
||||
|
||||
std::unique_ptr<Game> makeGame(GraphicsInterface &);
|
||||
|
||||
} // namespace progressia::main
|
||||
|
||||
Reference in New Issue
Block a user