Using memory arena in the game that supports hot reload
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <Core/Memory/MemoryArena.h>
|
||||
|
||||
struct EntityManager;
|
||||
|
||||
struct World
|
||||
{
|
||||
Juliet::Arena* WorldArena;
|
||||
EntityManager* EntityManager;
|
||||
};
|
||||
|
||||
struct GameState
|
||||
{
|
||||
Juliet::Arena* TotalArena;
|
||||
|
||||
World* World;
|
||||
|
||||
float TotalTime;
|
||||
int Score;
|
||||
};
|
||||
|
||||
extern GameState* GetGameState();
|
||||
Reference in New Issue
Block a user