source:
orxonox.OLD/orxonox/trunk/src/shoot_laser.h
@
3338
Last change on this file since 3338 was 3224, checked in by bensch, 20 years ago | |
---|---|
File size: 669 bytes |
Rev | Line | |
---|---|---|
[1896] | 1 | |
[3224] | 2 | #ifndef _SHOOT_LASER_H |
3 | #define _SHOOT_LASER_H | |
[1896] | 4 | |
5 | ||
6 | class ShootLaser { | |
7 | ||
8 | public: | |
9 | ||
10 | /* a list of all shoot-amental objects */ | |
11 | struct shoot { | |
12 | shoot *next; | |
13 | float xCor; | |
14 | float yCor; | |
15 | float zCor; | |
[1920] | 16 | float xVel; |
17 | float yVel; | |
18 | float zVel; | |
[1896] | 19 | float collisionRadius; |
20 | }; | |
[1899] | 21 | shoot* lastShoot; |
[1896] | 22 | |
23 | ShootLaser (); | |
24 | ~ShootLaser (); | |
25 | ||
[1929] | 26 | int inhibitor; |
27 | ||
[1900] | 28 | void drawShoot(void); |
[1896] | 29 | void addShoot(shoot* sh); |
30 | void addShoot(float x, float y, float z); | |
[1920] | 31 | void addShootExt(float x, float y, float z, float xVel, float yVel, float zVel); |
[1900] | 32 | void setShootStep(float step); |
33 | void removeShoot(shoot* sh); | |
[1896] | 34 | |
35 | ||
36 | private: | |
[1899] | 37 | |
[1900] | 38 | float step; |
39 | ||
[1896] | 40 | }; |
41 | ||
[3224] | 42 | #endif /* _SHOOT_LASER_H */ |
Note: See TracBrowser
for help on using the repository browser.