Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 25, 2013, 11:05:13 PM (12 years ago)
Author:
landauf
Message:

made some classes (mostly singletons) inherit from Configurable instead of OrxonoxClass when they only need the config value facilities

Location:
code/branches/core6/src/modules
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/modules/designtools/ScreenshotManager.h

    r9563 r9578  
    4444
    4545#include "util/Singleton.h"
    46 #include "core/class/OrxonoxClass.h"
     46#include "core/config/Configurable.h"
    4747
    4848namespace orxonox
     
    6161    @ingroup Designtools
    6262    */
    63     class ScreenshotManager : public OrxonoxClass, public Singleton<ScreenshotManager>
     63    class ScreenshotManager : public Configurable, public Singleton<ScreenshotManager>
    6464    {
    6565        friend class Singleton<ScreenshotManager>;
  • code/branches/core6/src/modules/designtools/SkyboxGenerator.h

    r9563 r9578  
    3636#define __SkyboxGenerator_h__
    3737
    38 #include "core/class/OrxonoxClass.h"
     38#include "core/config/Configurable.h"
    3939#include "util/Singleton.h"
    4040#include "tools/interfaces/Tickable.h"
     
    5858    @ingroup Designtools
    5959    */
    60     class SkyboxGenerator : public virtual OrxonoxClass, public Singleton<SkyboxGenerator>, public Tickable
     60    class SkyboxGenerator : public virtual Configurable, public Singleton<SkyboxGenerator>, public Tickable
    6161    {
    6262        friend class Singleton<SkyboxGenerator>;
  • code/branches/core6/src/modules/questsystem/QuestManager.cc

    r8952 r9578  
    3838#include "util/ScopedSingletonManager.h"
    3939#include "core/command/ConsoleCommand.h"
    40 #include "core/CoreIncludes.h"
    4140#include "core/GUIManager.h"
    4241#include "core/LuaState.h"
     
    6059    QuestManager::QuestManager()
    6160    {
    62         RegisterRootObject(QuestManager);
    6361        orxout(internal_info, context::quests) << "QuestManager created." << endl;
    6462    }
  • code/branches/core6/src/modules/questsystem/QuestManager.h

    r9563 r9578  
    4343
    4444#include "util/Singleton.h"
    45 #include "core/class/OrxonoxClass.h"
    4645
    4746namespace orxonox  // tolua_export
     
    5958    */
    6059    class _QuestsystemExport QuestManager  // tolua_export
    61         : public Singleton<QuestManager>, public orxonox::OrxonoxClass
     60        : public Singleton<QuestManager>
    6261    { // tolua_export
    6362
Note: See TracChangeset for help on using the changeset viewer.