Changeset 1790 for code/trunk/src/orxonox/objects
- Timestamp:
- Sep 15, 2008, 11:38:46 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Tickable.cc
r1535 r1790 41 41 RegisterRootObject(Tickable); 42 42 } 43 44 /**45 @brief Constructor: Registers the object in the TickableReal-list46 */47 TickableReal::TickableReal()48 {49 RegisterRootObject(TickableReal);50 }51 43 } -
code/trunk/src/orxonox/objects/Tickable.h
r1755 r1790 64 64 65 65 SUPER_FUNCTION(1, Tickable, tick, true); 66 67 //! The Tickable interface provides a tick(dt) function, that gets called every frame.68 class _OrxonoxExport TickableReal : virtual public OrxonoxClass69 {70 public:71 /**72 @brief Gets called every frame.73 @param dt The time since the last frame in seconds74 */75 virtual void tick(float dt) = 0;76 77 protected:78 TickableReal();79 };80 81 66 } 82 67
Note: See TracChangeset
for help on using the changeset viewer.