Last change
on this file since 12203 was
12177,
checked in by siramesh, 6 years ago
|
Super Orxo Bros Final (Sidharth Ramesh, Nisa Balta, Jeff Ren)
|
File size:
685 bytes
|
Rev | Line | |
---|
[12177] | 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->unassignedMagazines_ = 15; |
---|
| 20 | |
---|
| 21 | this->deployment_ = MunitionDeployment::Stack; |
---|
| 22 | |
---|
| 23 | this->bAllowMunitionRefilling_ = true; |
---|
| 24 | this->bAllowMultiMunitionRemovementUnderflow_ = false; |
---|
| 25 | |
---|
| 26 | this->reloadTime_ = 0.0f; |
---|
| 27 | } |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.