Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 1, 2009, 11:44:53 AM (15 years ago)
Author:
rgrieder
Message:

Moved the singleton creation/destruction mess to the Core class by using just two possible Scopes:

  • ScopeID::Root for singletons that may always persists
  • ScopeID::Graphics for singletons that only work when graphics was loaded
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/gamestates/GSLevel.h

    r5842 r5850  
    3333
    3434#include <string>
    35 #include "util/Scope.h"
    3635#include "core/OrxonoxClass.h"
    3736#include "core/GameState.h"
     
    6766        InputState*              guiMouseOnlyInputState_;  //!< input state if we only need the mouse to use the GUI
    6867        InputState*              guiKeysOnlyInputState_;   //!< input state if we only need the keys to use the GUI
    69         CameraManager*           cameraManager_;           //!< camera manager for this level
    70         PlayerManager*           playerManager_;           //!< player manager for this level
    71         Scope<ScopeID::GSLevel>* scope_GSLevel_;
    7268
    7369        //##### ConfigValues #####
Note: See TracChangeset for help on using the changeset viewer.