Advertisement
Guest User

Untitled

a guest
Mar 4th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. //
  2. // Alien.h
  3. // Space Invaders
  4. //
  5. // Created by Marcuz on 25/02/13.
  6. // Copyright (c) 2013 Marcuz Stolte. All rights reserved.
  7. //
  8.  
  9. #ifndef __Space_Invaders__Alien__
  10. #define __Space_Invaders__Alien__
  11.  
  12. #include <SFML/Graphics.hpp>
  13. #include <SFML/Audio.hpp>
  14. #include "ResourcePath.hpp"
  15. #include "Projectile.h"
  16.  
  17. using namespace sf;
  18.  
  19. class Alien{
  20. public:
  21. Alien(int alienType, float x, float y);
  22. void draw(RenderWindow &window);
  23. void checkCollision(Projectile &proj, int &theScore);
  24.  
  25. bool alive;
  26. Vector2f pos;
  27. Texture alien1;
  28. Texture alien2;
  29. Texture alien3;
  30. Sprite alien;
  31. };
  32.  
  33. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement