Changeset 9667 for code/trunk/src/libraries/tools/interfaces
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/tools/interfaces/Tickable.h
r5781 r9667 44 44 #include "tools/ToolsPrereqs.h" 45 45 46 #include "core/ OrxonoxClass.h"47 #include "core/ Super.h"46 #include "core/class/OrxonoxInterface.h" 47 #include "core/class/Super.h" 48 48 49 49 namespace orxonox 50 50 { 51 51 //! The Tickable interface provides a tick(dt) function, that gets called every frame. 52 class _ToolsExport Tickable : virtual public Orxonox Class52 class _ToolsExport Tickable : virtual public OrxonoxInterface 53 53 { 54 54 public: -
code/trunk/src/libraries/tools/interfaces/TimeFactorListener.h
r7172 r9667 31 31 32 32 #include "tools/ToolsPrereqs.h" 33 #include "core/ OrxonoxClass.h"33 #include "core/object/Listable.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _ToolsExport TimeFactorListener : virtual public OrxonoxClass37 class _ToolsExport TimeFactorListener : virtual public Listable 38 38 { 39 39 public: -
code/trunk/src/libraries/tools/interfaces/ToolsInterfaceCompilation.cc
r7172 r9667 46 46 float TimeFactorListener::timefactor_s = 1.0f; 47 47 48 RegisterAbstractClass(TimeFactorListener).inheritsFrom(Class(Listable)); 49 48 50 TimeFactorListener::TimeFactorListener() 49 51 { 50 Register RootObject(TimeFactorListener);52 RegisterObject(TimeFactorListener); 51 53 } 52 54 … … 65 67 // Tickable 66 68 //---------------------------- 69 RegisterAbstractClass(Tickable).inheritsFrom(Class(OrxonoxInterface)); 70 67 71 /** 68 72 @brief Constructor: Registers the object in the Tickable-list … … 70 74 Tickable::Tickable() 71 75 { 72 Register RootObject(Tickable);76 RegisterObject(Tickable); 73 77 } 74 78 }
Note: See TracChangeset
for help on using the changeset viewer.