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

IScene.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 // IScene.h - Interface of Scene                                              //
00016 
00017 #ifndef __IScene_h_INCLUDED__
00018 #define __IScene_h_INCLUDED__
00019 
00020 #include "IObject.h"
00021 #include "IRoot.h"
00022 #include "IEventManager.h"
00023 #include <string>
00024 
00025 namespace mortic
00026 {
00028         
00035     class IScene : public IObject
00036     {
00037     public:
00039         IScene(IRoot* root, std::string name) : IObject(root, name)
00040         { }
00041         
00043         
00046         virtual void start() = 0;
00047         
00049         
00052         virtual void stop() = 0;
00053         
00055         
00059         virtual void run() = 0;
00060         
00062         
00067         virtual bool event(IEvent* e) = 0;
00068     };
00069 
00070 }
00071 ; // namespace mortic
00072 #endif // __IScene_h_INCLUDED__

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