- Timestamp:
- Dec 28, 2007, 11:33:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/weapon_system/AmmunitionDump.cc
r708 r715 59 59 } 60 60 61 void AmmunitionDump::setDumpSize(const String &name, int size)61 void AmmunitionDump::setDumpSize(const std::string &name, int size) 62 62 { 63 63 if (size < 0) … … 70 70 71 71 72 int AmmunitionDump::store(const String &name, int quantity)72 int AmmunitionDump::store(const std::string &name, int quantity) 73 73 { 74 74 int id = Orxonox::getSingleton()->getBulletMgr()->getAmmunitionID(name); … … 87 87 88 88 89 int AmmunitionDump::getAmmunition(const String &name, int quantity)89 int AmmunitionDump::getAmmunition(const std::string &name, int quantity) 90 90 { 91 91 int id = Orxonox::getSingleton()->getBulletMgr()->getAmmunitionID(name); … … 103 103 104 104 105 int AmmunitionDump::getStockSize(const String &name)105 int AmmunitionDump::getStockSize(const std::string &name) 106 106 { 107 107 int id = Orxonox::getSingleton()->getBulletMgr()->getAmmunitionID(name);
Note: See TracChangeset
for help on using the changeset viewer.