Advertisement
xerpi

map.hpp

Jan 17th, 2012
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. //map.hpp
  2.  
  3. #ifndef _Map_H_
  4. #define _Map_H_
  5.  
  6. #include <oslib/oslib.h>
  7. #include <list>
  8. #include "methods.hpp"
  9. #include "block.hpp"
  10.  
  11.  
  12.  
  13. class Map{
  14.     public:
  15.         //Constructor
  16.             Map(int x, int y, int w, int h);
  17.         //Variables
  18.             //Block list
  19.                 std::list<Block> blockList;
  20.             //Screen limit
  21.                 struct{
  22.                     float x, y, w, h;
  23.                 }limit;
  24.         //Methods
  25.             void manage();
  26.             void blitBlocks();
  27.  
  28. };
  29.  
  30. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement