Changeset 3613 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 21, 2005, 1:44:30 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/orxonox.cc
r3611 r3613 27 27 28 28 #include "world.h" 29 #include "camera.h"30 29 #include "data_tank.h" 31 30 #include "command_node.h" … … 54 53 if( world != NULL) delete world; 55 54 if( localinput != NULL) delete world; 56 if( localcamera != NULL) delete localcamera;57 55 if( resources != NULL) delete resources; 58 56 delete GraphicsEngine::getInstance(); // deleting the Graphics … … 236 234 } 237 235 238 239 /**240 \brief retrieve a pointer to the local Camera241 \return a pointer to localcamera242 */243 Camera* Orxonox::getCamera()244 {245 return localcamera;246 }247 248 249 236 /** 250 237 \brief retrieve a pointer to the local CommandNode -
orxonox/trunk/src/orxonox.h
r3608 r3613 31 31 DataTank* resources; //!< DataContainer 32 32 CommandNode* localinput; //!< Command Handler 33 Camera* localcamera; //!< The current Camera34 33 SDL_Surface* screen; //!< The current Screen 35 34 GameLoader* gameLoader; //!< The gameLoader … … 67 66 68 67 CommandNode* getLocalInput(); 69 Camera* getCamera();70 68 World* getWorld(); 71 69 SDL_Surface* getScreen ();
Note: See TracChangeset
for help on using the changeset viewer.