diff options
author | rtk0c <[email protected]> | 2022-04-25 20:22:07 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-25 20:22:07 -0700 |
commit | 855da86feae1a5cc14dc2d486ccf115f484dbc2e (patch) | |
tree | 8284c6a6bdfb1a919eb1a22f466f4180a329c7f3 /source/World.cpp | |
parent | d78a55de5003dbb040f1d1c369409e63a2c806d8 (diff) |
Changeset: 16 Initial work on rendering sprites to screen
Diffstat (limited to 'source/World.cpp')
-rw-r--r-- | source/World.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/source/World.cpp b/source/World.cpp index 49aa58f..d4a8344 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -29,15 +29,8 @@ struct DrawCall { }; } // namespace ProjectBrussel_UNITY_ID -struct GameWorld::RenderData { - void SubmitDrawCalls() { - // TODO - } -}; - GameWorld::GameWorld() - : mRender{ new RenderData() } - , mRoot{ new GameObject(this) } { + : mRoot{ new GameObject(this) } { } GameWorld::~GameWorld() { @@ -45,7 +38,6 @@ GameWorld::~GameWorld() { Resleep(); } - delete mRender; delete mRoot; } @@ -73,9 +65,6 @@ void GameWorld::Update() { }); } -void GameWorld::Draw() { -} - GameObject& GameWorld::GetRoot() { return *mRoot; } |