entity system!

This commit is contained in:
Asuro
2025-02-09 19:30:18 +01:00
parent d1270c47a9
commit 90bc5753a9
19 changed files with 306 additions and 67 deletions

17
src/game/Instance.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <cstdint>
#include "Level.h"
namespace Game
{
struct GameInstance
{
bool IsInitialized = false;
uint64_t Size = sizeof(GameInstance);
uint32_t FrameCounter = 0;
int64_t StartTime = 0;
double Now = 0.0;
Level GameLevel;
};
}