Last change
on this file since 10652 was
10648,
checked in by nicolasc, 18 years ago
|
some additional weapons, started weapons cleanup
|
File size:
599 bytes
|
Line | |
---|
1 | #ifndef NADION_LASER_H |
---|
2 | #define NADION_LASER_H |
---|
3 | |
---|
4 | |
---|
5 | #include "weapon.h" |
---|
6 | |
---|
7 | |
---|
8 | class NadionLaser : public Weapon |
---|
9 | { |
---|
10 | //ObjectListDeclaration(NadionLaser); |
---|
11 | public: |
---|
12 | NadionLaser(); |
---|
13 | NadionLaser (const TiXmlElement* root); |
---|
14 | virtual ~NadionLaser(); |
---|
15 | |
---|
16 | void init(); |
---|
17 | virtual void loadParams(const TiXmlElement* root); |
---|
18 | |
---|
19 | virtual void activate(); |
---|
20 | virtual void deactivate(); |
---|
21 | |
---|
22 | virtual void fire(); |
---|
23 | |
---|
24 | virtual void tick(float dt); |
---|
25 | |
---|
26 | virtual void draw() const; |
---|
27 | |
---|
28 | private: |
---|
29 | PNode*** objComp; |
---|
30 | Animation3D*** shootAnim; |
---|
31 | PNode** emissionPoint; |
---|
32 | |
---|
33 | int activeBarrel; |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.