Changeset 9629 for code/branches/core6/src/orxonox/weaponsystem
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- Location:
- code/branches/core6/src/orxonox/weaponsystem
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/orxonox/weaponsystem/DefaultWeaponmodeLink.cc
r5781 r9629 37 37 CreateFactory(DefaultWeaponmodeLink); 38 38 39 DefaultWeaponmodeLink::DefaultWeaponmodeLink( BaseObject* creator) : BaseObject(creator)39 DefaultWeaponmodeLink::DefaultWeaponmodeLink(Context* context) : BaseObject(context) 40 40 { 41 41 RegisterObject(DefaultWeaponmodeLink); -
code/branches/core6/src/orxonox/weaponsystem/DefaultWeaponmodeLink.h
r5781 r9629 39 39 { 40 40 public: 41 DefaultWeaponmodeLink( BaseObject* creator);41 DefaultWeaponmodeLink(Context* context); 42 42 virtual ~DefaultWeaponmodeLink(); 43 43 -
code/branches/core6/src/orxonox/weaponsystem/Munition.cc
r8729 r9629 37 37 CreateFactory(Munition); 38 38 39 Munition::Munition( BaseObject* creator) : BaseObject(creator)39 Munition::Munition(Context* context) : BaseObject(context) 40 40 { 41 41 RegisterObject(Munition); -
code/branches/core6/src/orxonox/weaponsystem/Munition.h
r7851 r9629 56 56 57 57 public: 58 Munition( BaseObject* creator);58 Munition(Context* context); 59 59 virtual ~Munition(); 60 60 -
code/branches/core6/src/orxonox/weaponsystem/Weapon.cc
r5929 r9629 41 41 CreateFactory(Weapon); 42 42 43 Weapon::Weapon( BaseObject* creator) : StaticEntity(creator)43 Weapon::Weapon(Context* context) : StaticEntity(context) 44 44 { 45 45 RegisterObject(Weapon); -
code/branches/core6/src/orxonox/weaponsystem/Weapon.h
r5929 r9629 42 42 { 43 43 public: 44 Weapon( BaseObject* creator);44 Weapon(Context* context); 45 45 virtual ~Weapon(); 46 46 -
code/branches/core6/src/orxonox/weaponsystem/WeaponMode.cc
r8858 r9629 45 45 namespace orxonox 46 46 { 47 WeaponMode::WeaponMode( BaseObject* creator) : BaseObject(creator)47 WeaponMode::WeaponMode(Context* context) : BaseObject(context) 48 48 { 49 49 RegisterObject(WeaponMode); … … 75 75 if( GameMode::isMaster() ) 76 76 { 77 this->defSndWpnFire_ = new WorldSound(this );77 this->defSndWpnFire_ = new WorldSound(this->getContext()); 78 78 this->defSndWpnFire_->setLooping(false); 79 79 this->bSoundAttached_ = false; -
code/branches/core6/src/orxonox/weaponsystem/WeaponMode.h
r9563 r9629 44 44 { 45 45 public: 46 WeaponMode( BaseObject* creator);46 WeaponMode(Context* context); 47 47 virtual ~WeaponMode(); 48 48 -
code/branches/core6/src/orxonox/weaponsystem/WeaponPack.cc
r6417 r9629 40 40 CreateFactory(WeaponPack); 41 41 42 WeaponPack::WeaponPack( BaseObject* creator) : BaseObject(creator)42 WeaponPack::WeaponPack(Context* context) : BaseObject(context) 43 43 { 44 44 RegisterObject(WeaponPack); -
code/branches/core6/src/orxonox/weaponsystem/WeaponPack.h
r6417 r9629 41 41 { 42 42 public: 43 WeaponPack( BaseObject* creator);43 WeaponPack(Context* context); 44 44 virtual ~WeaponPack(); 45 45 -
code/branches/core6/src/orxonox/weaponsystem/WeaponSet.cc
r5781 r9629 39 39 CreateFactory(WeaponSet); 40 40 41 WeaponSet::WeaponSet( BaseObject* creator) : BaseObject(creator)41 WeaponSet::WeaponSet(Context* context) : BaseObject(context) 42 42 { 43 43 RegisterObject(WeaponSet); -
code/branches/core6/src/orxonox/weaponsystem/WeaponSet.h
r5781 r9629 41 41 { 42 42 public: 43 WeaponSet( BaseObject* creator);43 WeaponSet(Context* context); 44 44 virtual ~WeaponSet(); 45 45 -
code/branches/core6/src/orxonox/weaponsystem/WeaponSlot.cc
r8706 r9629 39 39 CreateFactory(WeaponSlot); 40 40 41 WeaponSlot::WeaponSlot( BaseObject* creator) : StaticEntity(creator)41 WeaponSlot::WeaponSlot(Context* context) : StaticEntity(context) 42 42 { 43 43 RegisterObject(WeaponSlot); -
code/branches/core6/src/orxonox/weaponsystem/WeaponSlot.h
r8891 r9629 57 57 { 58 58 public: 59 WeaponSlot( BaseObject* creator);59 WeaponSlot(Context* context); 60 60 virtual ~WeaponSlot(); 61 61 -
code/branches/core6/src/orxonox/weaponsystem/WeaponSystem.cc
r9563 r9629 48 48 CreateFactory(WeaponSystem); 49 49 50 WeaponSystem::WeaponSystem( BaseObject* creator) : BaseObject(creator)50 WeaponSystem::WeaponSystem(Context* context) : BaseObject(context) 51 51 { 52 52 RegisterObject(WeaponSystem); … … 308 308 else if (identifier->getIdentifier()->isA(Class(Munition))) 309 309 { 310 Munition* munition = identifier->fabricate(this );310 Munition* munition = identifier->fabricate(this->getContext()); 311 311 this->munitions_[identifier->getIdentifier()] = munition; 312 312 return munition; -
code/branches/core6/src/orxonox/weaponsystem/WeaponSystem.h
r6417 r9629 43 43 { 44 44 public: 45 WeaponSystem( BaseObject* creator);45 WeaponSystem(Context* context); 46 46 virtual ~WeaponSystem(); 47 47
Note: See TracChangeset
for help on using the changeset viewer.