Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS15/src/modules/weapons/munitions/GravityBombMunition.cc @ 11075

Last change on this file since 11075 was 10961, checked in by maxima, 9 years ago

Merged presentation and fabiens branch. Had to modify hoverHUD and invaderHUD, because the text of the healthbar wasn't correctly displayed and the weapon settings of the hovership.

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