Gel2D - The free/open source game creation suite

gelScene.h
Go to the documentation of this file.
00001 /*
00002 Gel2D Game Engine - Cross-platform 2D gaming middleware
00003 Copyright (C) 2011 Mark D. Procarione
00004 
00005 Gel2D is free software: you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation, either version 3 of the License, or
00008 (at your option) any later version.
00009 
00010 Gel2D is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013 GNU General Public License for more details.
00014 */
00015 
00016 #ifndef __GELSCENE_H__
00017 #define __GELSCENE_H__
00018 
00019 #include "gelLinkedList.h"
00020 #include "gelObject.h"
00021 #include "gelSprite.h"
00022 #include "gelCamera.h"
00023 
00024 namespace gel
00025 {
00027     class GelSceneManager
00028     {
00029         public:
00031 
00032             GelCamera *addCamera();
00033 
00035 
00039             GelSprite *addSprite( const Gel2dVec &size, const Gel2dVec &pos, float rot );
00040 
00042 
00043             void drawAll();
00044 
00045         private:
00046             GelLinkedList<GelObject*> object;
00047     };
00048 }
00049 
00050 #endif // __GELSCENE_H__