Changeset 9629 for code/branches/core6/src/orxonox/items
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- Location:
- code/branches/core6/src/orxonox/items
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/orxonox/items/Engine.cc
r9558 r9629 46 46 Constructor. Registers and initializes the object. 47 47 */ 48 Engine::Engine( BaseObject* creator) : Item(creator)48 Engine::Engine(Context* context) : Item(context) 49 49 { 50 50 RegisterObject(Engine); -
code/branches/core6/src/orxonox/items/Engine.h
r8727 r9629 56 56 { 57 57 public: 58 Engine( BaseObject* creator);58 Engine(Context* context); 59 59 virtual ~Engine(); 60 60 -
code/branches/core6/src/orxonox/items/Item.cc
r5781 r9629 32 32 namespace orxonox 33 33 { 34 Item::Item( BaseObject* creator) : BaseObject(creator), Synchronisable(creator)34 Item::Item(Context* context) : BaseObject(context), Synchronisable(context) 35 35 { 36 36 RegisterObject(Item); -
code/branches/core6/src/orxonox/items/Item.h
r5781 r9629 40 40 { 41 41 public: 42 Item( BaseObject* creator);42 Item(Context* context); 43 43 virtual ~Item() {} 44 44 }; -
code/branches/core6/src/orxonox/items/MultiStateEngine.cc
r8727 r9629 51 51 CreateFactory(MultiStateEngine); 52 52 53 MultiStateEngine::MultiStateEngine( BaseObject* creator) : Engine(creator)53 MultiStateEngine::MultiStateEngine(Context* context) : Engine(context) 54 54 { 55 55 RegisterObject(MultiStateEngine); … … 57 57 if (GameMode::isMaster()) 58 58 { 59 this->defEngineSndNormal_ = new WorldSound(this );60 this->defEngineSndBoost_ = new WorldSound(this );59 this->defEngineSndNormal_ = new WorldSound(this->getContext()); 60 this->defEngineSndBoost_ = new WorldSound(this->getContext()); 61 61 this->defEngineSndNormal_->setLooping(true); 62 62 this->defEngineSndBoost_->setLooping(true); -
code/branches/core6/src/orxonox/items/MultiStateEngine.h
r8727 r9629 49 49 }; 50 50 51 MultiStateEngine( BaseObject* creator);51 MultiStateEngine(Context* context); 52 52 virtual ~MultiStateEngine(); 53 53
Note: See TracChangeset
for help on using the changeset viewer.