Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

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

    r4597 r4746  
    109109  virtual ~Weapon ();
    110110
    111   void enable(void);
    112   void disable(void);
    113   bool isEnabled(void);
     111  void enable();
     112  void disable();
     113  bool isEnabled();
    114114
    115115  void setProjectile(Projectile* projectile);
    116   Projectile* getProjectile(void);
     116  Projectile* getProjectile();
    117117
    118   virtual void activate(void);
    119   virtual void deactivate(void);
    120   bool isActive(void);
     118  virtual void activate();
     119  virtual void deactivate();
     120  bool isActive();
    121121
    122122
     
    136136     shoot again
    137137  */
    138   inline float getWeaponIdleTime(void) const { return this->idleTime;}
     138  inline float getWeaponIdleTime() const { return this->idleTime;}
    139139  /**
    140140     \brief checks if the idle time is elapsed
     
    144144   shoot again
    145145  */
    146   inline bool hasWeaponIdleTimeElapsed(void) const { return (this->localTime>this->idleTime)?true:false; }
     146  inline bool hasWeaponIdleTimeElapsed() const { return (this->localTime>this->idleTime)?true:false; }
    147147
    148148  /**
     
    151151     this is called from the player.cc, when fire-button is been pushed
    152152  */
    153   virtual void fire(void) = 0;
     153  virtual void fire() = 0;
    154154  virtual void hit (WorldEntity* weapon, Vector* loc);
    155   virtual void destroy(void);
     155  virtual void destroy();
    156156
    157157  virtual void tick(float time);
    158   virtual void weaponIdle(void);
    159   virtual void draw(void);
     158  virtual void weaponIdle();
     159  virtual void draw();
    160160
    161161 protected:
Note: See TracChangeset for help on using the changeset viewer.