Last change
on this file since 10487 was
10486,
checked in by maxima, 10 years ago
|
weaponFS15 branch merged to presentation. spaceshipFS15 has GravityBomb on mode 2
|
File size:
613 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 | |
---|
10 | namespace orxonox |
---|
11 | { |
---|
12 | RegisterClass(GravityBombMunition); |
---|
13 | |
---|
14 | GravityBombMunition::GravityBombMunition(Context* context) : Munition(context) |
---|
15 | { |
---|
16 | RegisterObject(GravityBombMunition); |
---|
17 | this->maxMunitionPerMagazine_ = 1; |
---|
18 | this->maxMagazines_ = 30; |
---|
19 | this->magazines_ = 15; |
---|
20 | |
---|
21 | this->bUseSeparateMagazines_ = false; |
---|
22 | this->bStackMunition_ = true; |
---|
23 | |
---|
24 | this->bAllowMunitionRefilling_ = true; |
---|
25 | this->bAllowMultiMunitionRemovementUnderflow_ = false; |
---|
26 | } |
---|
27 | |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.