Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 4:45:50 PM (16 years ago)
Author:
polakma
Message:

added munition, fixed reloadTimer_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/Munition.cc

    r2097 r2203  
    4646    }
    4747
     48
     49    void Munition::decrementBullets()
     50    {
     51        this->bullets--;
     52    }
     53    void Munition::decrementMagazines()
     54    {
     55        this->magazines--;
     56    }
     57    void Munition::incrementBullets()
     58    {
     59        this->bullets++;
     60    }
     61    void Munition::incrementMagazines()
     62    {
     63        this->magazines++;
     64    }
     65
     66
    4867    void Munition::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    4968    {
Note: See TracChangeset for help on using the changeset viewer.