From 84815601753ae5d1d84e842d8822962d25097f82 Mon Sep 17 00:00:00 2001 From: zv0n Date: Sun, 31 Jan 2021 18:17:41 +0100 Subject: [PATCH] Decided this TODO isn't required --- sdlpp/sdlpp_scene.cpp | 1 - sdlpp/sdlpp_scene.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/sdlpp/sdlpp_scene.cpp b/sdlpp/sdlpp_scene.cpp index 4fcf976..cb3a6e3 100644 --- a/sdlpp/sdlpp_scene.cpp +++ b/sdlpp/sdlpp_scene.cpp @@ -59,7 +59,6 @@ void Scene::moveZ( const std::shared_ptr< RenderObject > &obj, int addition ) { std::iter_swap( render_objects.begin() + original_index, render_objects.begin() + original_index + addition ); } -// TODO addCollision std::shared_ptr< RenderObject > Scene::getObject( int index ) { return render_objects[index]; } diff --git a/sdlpp/sdlpp_scene.hpp b/sdlpp/sdlpp_scene.hpp index 2182a37..c3d0d58 100644 --- a/sdlpp/sdlpp_scene.hpp +++ b/sdlpp/sdlpp_scene.hpp @@ -19,7 +19,6 @@ public: void moveDownZ( const std::shared_ptr< RenderObject > &obj ); void moveUpZ( const std::shared_ptr< RenderObject > &obj ); void moveZ( const std::shared_ptr< RenderObject > &obj, int addition ); - // TODO addCollision std::shared_ptr< RenderObject > getObject( int index ); std::vector< std::shared_ptr< RenderObject > > getObjects(); std::vector< std::shared_ptr< RenderObject > >