Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // AlienProjectile.h
- // Space Invaders
- //
- // Created by Marcuz on 28/02/13.
- // Copyright (c) 2013 Marcuz Stolte. All rights reserved.
- //
- #ifndef __Space_Invaders__AlienProjectile__
- #define __Space_Invaders__AlienProjectile__
- #include <SFML/Graphics.hpp>
- #include "Alien.h"
- using namespace sf;
- class AlienProjectile{
- public:
- AlienProjectile();
- void shoot(Alien &alien);
- void draw(RenderWindow &window);
- bool isFired;
- Vector2i pos;
- Texture projectileTexture;
- Sprite projectile;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement