1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef BREXIT_H
- #define BREXIT_H
- #include "../Shot.h"
- #define BREXIT_DEGAT 900
- #define BREXIT_SPEED_X 18
- #define BREXIT_SPEED_Y 9
- class Brexit : public Shot
- {
- public:
- Brexit();
- Brexit( Sint16 x, Sint16 y, bool up, bool ally = false );
- virtual ~Brexit();
- virtual void update();
- virtual void draw( SDL_Surface* screen );
- virtual bool damageSolid( Uint8** solid, const Uint16 dimH, const Uint16 dimW, const SDL_Rect& hitbox );
- protected:
- int m_vx;
- int m_vy;
- };
- #endif
|