1 /***************************************************************************
2  *   This program is free software; you can redistribute it and/or modify  *
3  *   it under the terms of the GNU General Public License as published by  *
4  *   the Free Software Foundation; either version 2 of the License, or     *
5  *   (at your option) any later version.                                   *
6  ***************************************************************************/
7 
8 #ifndef POWERUP_H
9 #define POWERUP_H
10 
11 #include "Vector.h"
12 #include "Game.h"
13 
14 enum poweruptype{
15 POWERUP_SUPERSHIELD=4,
16 POWERUP_TRIPLESHOT=3,
17 POWERUP_GUIDANCE=2,
18 POWERUP_LIFE=1,
19 POWERUP_NONE=0
20 };
21 
22 class PowerUp {
23 public:
24 	PowerUp();
25 	~PowerUp();
26 	void Update();
27 	Vector s;
28 	float bouncecycle;
29 	float spincycle;
30 	float spawneffect;
31 	float maxspawneffect;
32 	poweruptype nature;
33 	Game* game;
34 	int done;
35 	float collideradius;
36 	float collideradius2;
37 };
38 
39 #endif
40