Revision 1378,
455 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Rev | Line | |
---|
[1378] | 1 | #pragma once
|
---|
| 2 | #include "weapon.h"
|
---|
| 3 | #include <string>
|
---|
| 4 |
|
---|
| 5 | class UniversalWeapon :
|
---|
| 6 | public Weapon
|
---|
| 7 | {
|
---|
| 8 | public:
|
---|
| 9 | UniversalWeapon(void);
|
---|
| 10 | ~UniversalWeapon(void);
|
---|
| 11 |
|
---|
| 12 | virtual void initWeapon();
|
---|
| 13 |
|
---|
| 14 | void setBulletType(int _bulletType);
|
---|
| 15 | void setReboundForce(float _reboundForce);
|
---|
| 16 | void setXFile(std::string filename);
|
---|
| 17 |
|
---|
| 18 | virtual Node* clone();
|
---|
| 19 |
|
---|
| 20 | protected:
|
---|
| 21 | int bulletType;
|
---|
| 22 | float reboundForce;
|
---|
| 23 | std::string xFileFilename;
|
---|
| 24 | virtual void doFire();
|
---|
| 25 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.