Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 18, 2005, 4:52:45 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: weapon manager now works in player, cleaning up the rest

File:
1 edited

Legend:

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

    r3873 r3875  
    7979  ~WeaponManager();
    8080 
    81   void addWeapon(Weapon* weapon, int slotID = W_FREE_SLOT, int configID = W_CONFIG1);
     81  void addWeapon(Weapon* weapon, int slotID = W_FREE_SLOT, int configID = W_CONFIG0);
    8282  void nextWeaponConf();
    8383
     84  void fire();
    8485
    8586 private:
    8687  int nrOfConfigs;                      //<! number of configurations defined
    8788  int nrOfSlots;                        //<! number of weapon slots a ship has
    88   int currConfID;                    //<! the currently selected config
     89  int currConfID;                       //<! the currently selected config
    8990  weaponConfig configs[4];              //<! a list of four configurations
    9091 
Note: See TracChangeset for help on using the changeset viewer.