Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/modules/weapons/munitions/GravityBombMunition.cc @ 12035

Last change on this file since 12035 was 11071, checked in by landauf, 9 years ago

merged branch cpp11_v3 back to trunk

  • Property svn:eol-style set to native
File size: 685 bytes
RevLine 
[10369]1/*
2 * GravityBombMunition.cc
3 *
4 *  Created on: Apr 16, 2015
[10455]5 *      Author: Manuel Eggimann
[10369]6 */
7#include "GravityBombMunition.h"
8#include "core/CoreIncludes.h"
9
10namespace orxonox
11{
12RegisterClass(GravityBombMunition);
13
[10601]14    GravityBombMunition::GravityBombMunition(Context* context) : Munition(context)
15    {
16        RegisterObject(GravityBombMunition);
17        this->maxMunitionPerMagazine_ = 1;
18        this->maxMagazines_ = 30;
[11052]19        this->unassignedMagazines_ = 15;
[10369]20
[11052]21        this->deployment_ = MunitionDeployment::Stack;
[10369]22
[10601]23        this->bAllowMunitionRefilling_ = true;
24        this->bAllowMultiMunitionRemovementUnderflow_ = false;
[11052]25
26        this->reloadTime_ = 0.0f;
[10601]27    }
[10369]28}
29
30
31
32
Note: See TracBrowser for help on using the repository browser.