Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //map.hpp
- #ifndef _Map_H_
- #define _Map_H_
- #include <oslib/oslib.h>
- #include <list>
- #include "methods.hpp"
- #include "block.hpp"
- class Map{
- public:
- //Constructor
- Map(int x, int y, int w, int h);
- //Variables
- //Block list
- std::list<Block> blockList;
- //Screen limit
- struct{
- float x, y, w, h;
- }limit;
- //Methods
- void manage();
- void blitBlocks();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement