Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 5, 2008, 7:57:16 PM (15 years ago)
Author:
polakma
Message:

added firemodes and a lot of other things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponSlot.h

    r2106 r2145  
    3636
    3737#include "Weapon.h"
    38 
     38#include "../worldentities/PositionableEntity.h"
    3939
    4040namespace orxonox
    4141{
    42     class _OrxonoxExport WeaponSlot : public BaseObject
     42    class _OrxonoxExport WeaponSlot : public PositionableEntity
    4343    {
    4444        public:
     
    4848            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4949
    50             void attachWeapon(Weapon *weaponName);
     50            void attachWeapon(Weapon *weaponPointer);
    5151            void setAmmoType(bool isUnlimited);
    5252            void fire();
     
    5656            inline WeaponSet * getParentWeaponSet()
    5757                { return parentWeaponSet_; }
    58 
    5958
    6059
Note: See TracChangeset for help on using the changeset viewer.