Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ISceneManager.h

Go to the documentation of this file.
00001 // mortic - A game engine for the Expanses of Naryan.
00002 // Copyright (C) 2007  Aaron Griffith
00003 // This file is under the LGPL. See mortic.h for more information.
00004 
00006 //   _____                     __  __                                         //
00007 //  / ____|                   |  \/  |                                        //
00008 // | (___   ___ ___ _ __   ___| \  / | __ _ _ __   __ _  __ _  ___ _ __       //
00009 //  \___ \ / __/ _ \ '_ \ / _ \ |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|      //
00010 //  ____) | (_|  __/ | | |  __/ |  | | (_| | | | | (_| | (_| |  __/ |         //
00011 // |_____/ \___\___|_| |_|\___|_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|         //
00012 //                                                       __/ |                //
00013 //                                                      |___/                 //
00014 // ISceneManager.h - Interface of SceneManager                                //
00016 
00017 #ifndef __ISceneManager_h_INCLUDED__
00018 #define __ISceneManager_h_INCLUDED__
00019 
00020 #include <string>
00021 #include "IRoot.h"
00022 #include "IObject.h"
00023 #include "IScene.h"
00024 
00025 namespace mortic
00026 {
00028         
00034     class ISceneManager : public IObject
00035     {
00036     public:
00038         ISceneManager(IRoot* root) : IObject(root, "SceneManager")
00039         { }
00041         virtual ~ISceneManager()
00042         { }
00043         
00045         
00049         virtual void addScene(IScene* scene) = 0;
00050         
00052         
00056         virtual bool loadScene(std::string filename) = 0;
00057                 
00059                 
00063         virtual void startScene(std::string name) = 0;
00064         
00066         
00070         virtual void startScene(IScene* scene) = 0;
00071         
00073         
00076         virtual void endScene(std::string name) = 0;
00077         
00079         
00082         virtual void endScene(IScene* scene) = 0;
00083         
00085         
00088         virtual void endAllScenes() = 0;
00089                 
00091                 
00095         virtual void run() = 0;
00096         
00098         
00106         virtual void event(IEvent* e) = 0;
00107     };
00108 
00109 }
00110 ; // namespace mortic
00111 #endif // __ISceneManager_h_INCLUDED__

Generated on Sat Dec 30 21:21:59 2006 for mortic by  doxygen 1.4.4