mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
refactor
This commit is contained in:
parent
5e55e20ec4
commit
d745a34657
33 changed files with 209 additions and 205 deletions
|
|
@ -8,10 +8,10 @@ class Batch2D;
|
|||
/// @brief Screen is a mainloop state
|
||||
class Screen : public util::ObjectsKeeper {
|
||||
protected:
|
||||
Engine* engine;
|
||||
Engine& engine;
|
||||
std::unique_ptr<Batch2D> batch;
|
||||
public:
|
||||
Screen(Engine* engine);
|
||||
Screen(Engine& engine);
|
||||
virtual ~Screen();
|
||||
virtual void update(float delta) = 0;
|
||||
virtual void draw(float delta) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue