Orxonox: orxonox::Munition::Magazine Struct Reference

# orxonox::Munition::Magazine Struct Reference

List of all members.

## Public Member Functions

| Magazine (Munition *munition, bool bUseReloadTime=true)

## Public Attributes

bool | bLoaded_
Timer< Magazine > | loadTimer_
unsigned int | munition_

## Private Member Functions

void | loaded (Munition *munition)

## Constructor & Destructor Documentation

orxonox::Munition::Magazine::Magazine | ( | Munition * | munition,
|  | bool | bUseReloadTime = `true` |
| ) |  |  |

References bLoaded_, orxonox::Munition::bStackMunition_, orxonox::createExecutor(), loaded(), loadTimer_, munition_, orxonox::Munition::reloadTime_, and orxonox::Executor::setDefaultValues().

## Member Function Documentation

void orxonox::Munition::Magazine::loaded | ( | Munition * | munition | ) | `[private]`

References bLoaded_, orxonox::Munition::maxMunitionPerMagazine_, and munition_.

Referenced by Magazine().

## Member Data Documentation

bool orxonox::Munition::Magazine::bLoaded_

Referenced by orxonox::Munition::canTakeMunition(), loaded(), Magazine(), orxonox::Munition::needReload(), orxonox::Munition::reload(), and orxonox::Munition::takeMunition().

Timer<Magazine> orxonox::Munition::Magazine::loadTimer_

Referenced by Magazine().

unsigned int orxonox::Munition::Magazine::munition_

Referenced by orxonox::Munition::addMagazines(), orxonox::Munition::addMunition(), orxonox::Munition::canRemoveMagazines(), orxonox::Munition::canTakeMunition(), orxonox::Munition::getNumMagazines(), orxonox::Munition::getNumMunition(), orxonox::Munition::getNumMunitionInCurrentMagazine(), loaded(), Magazine(), orxonox::Munition::needReload(), orxonox::Munition::removeMagazines(), and orxonox::Munition::takeMunition().

The documentation for this struct was generated from the following files:

- src/orxonox/objects/weaponsystem/Munition.h
- src/orxonox/objects/weaponsystem/Munition.cc