aboutsummaryrefslogtreecommitdiff
path: root/source/World.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
committerhnOsmium0001 <[email protected]>2022-04-25 20:22:07 -0700
commitf54370de7e4214cb7813d26b1a39a8f6e42b7b56 (patch)
tree20913b4099b77af933fcd2ebb4e73f53b366ad8f /source/World.cpp
parentc8ebee643f23c34ff57f69f8dfcf1903b59ea9d1 (diff)
Initial work on rendering sprites to screen
Diffstat (limited to 'source/World.cpp')
-rw-r--r--source/World.cpp13
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;
}