Advertisement
Guest User

Untitled

a guest
Mar 4th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. //
  2. // AlienProjectile.h
  3. // Space Invaders
  4. //
  5. // Created by Marcuz on 28/02/13.
  6. // Copyright (c) 2013 Marcuz Stolte. All rights reserved.
  7. //
  8.  
  9. #ifndef __Space_Invaders__AlienProjectile__
  10. #define __Space_Invaders__AlienProjectile__
  11.  
  12. #include <SFML/Graphics.hpp>
  13. #include "Alien.h"
  14.  
  15. using namespace sf;
  16.  
  17. class AlienProjectile{
  18. public:
  19. AlienProjectile();
  20. void shoot(Alien &alien);
  21. void draw(RenderWindow &window);
  22.  
  23. bool isFired;
  24. Vector2i pos;
  25. Texture projectileTexture;
  26. Sprite projectile;
  27. };
  28.  
  29. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement