SDLPP: Scene - add function to bring objet to the front or back of Z

This commit is contained in:
2021-04-25 15:54:16 +02:00
parent 1f5e3a999c
commit 5b96de0d9d
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -19,6 +19,8 @@ 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 );
void moveZTop( const std::shared_ptr< RenderObject > &obj );
void moveZBottom( const std::shared_ptr< RenderObject > &obj );
std::shared_ptr< RenderObject > getObject( int index );
std::vector< std::shared_ptr< RenderObject > > getObjects();
std::vector< std::shared_ptr< RenderObject > >