Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6736 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h


Ignore:
Timestamp:
Jan 25, 2006, 9:28:18 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Weapons are ticked only if they are inside of a ticked OM_LIST (not by the WeaponManager anymore)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.h

    r6671 r6736  
    153153
    154154    // FLOW
    155     void tickW(float dt); //!< this is a function that must be called by the weaponManager, or any other weaponHandler, all other functions are handled from within
    156 
    157     virtual void tick(float dt) {};
     155    bool tickW(float dt); //!< this is a function that must be called by the weaponManager, or any other weaponHandler, all other functions are handled from within
     156
     157    virtual void tick(float dt) { tickW(dt); };
    158158
    159159    bool check() const;
Note: See TracChangeset for help on using the changeset viewer.