Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Alien.h
- // Space Invaders
- //
- // Created by Marcuz on 25/02/13.
- // Copyright (c) 2013 Marcuz Stolte. All rights reserved.
- //
- #ifndef __Space_Invaders__Alien__
- #define __Space_Invaders__Alien__
- #include <SFML/Graphics.hpp>
- #include <SFML/Audio.hpp>
- #include "ResourcePath.hpp"
- #include "Projectile.h"
- using namespace sf;
- class Alien{
- public:
- Alien(int alienType, float x, float y);
- void draw(RenderWindow &window);
- void checkCollision(Projectile &proj, int &theScore);
- bool alive;
- Vector2f pos;
- Texture alien1;
- Texture alien2;
- Texture alien3;
- Sprite alien;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement