Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11053 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
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"
[10961]9#include "core/XMLPort.h"
[10369]10
11namespace orxonox
12{
13RegisterClass(GravityBombMunition);
14
[10601]15    GravityBombMunition::GravityBombMunition(Context* context) : Munition(context)
16    {
17        RegisterObject(GravityBombMunition);
18        this->maxMunitionPerMagazine_ = 1;
19        this->maxMagazines_ = 30;
[10961]20        this->unassignedMagazines_ = 15;
[10369]21
[10961]22        this->deployment_ = MunitionDeployment::Stack;
[10369]23
[10601]24        this->bAllowMunitionRefilling_ = true;
25        this->bAllowMultiMunitionRemovementUnderflow_ = false;
[10961]26
27        this->reloadTime_ = 0.0f;
[10601]28    }
[10369]29
[10961]30    void GravityBombMunition::XMLPort(Element& xmlelement, XMLPort::Mode mode)
31    {
32        SUPER(GravityBombMunition, XMLPort, xmlelement, mode);
33    }
[10369]34}
35
36
37
38
Note: See TracBrowser for help on using the repository browser.