From 855da86feae1a5cc14dc2d486ccf115f484dbc2e Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 25 Apr 2022 20:22:07 -0700 Subject: Changeset: 16 Initial work on rendering sprites to screen --- source/World.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'source/World.cpp') 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; } -- cgit v1.2.3-70-g09d2