Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #ifndef MAP_H
  2. #define MAP_H
  3.  
  4. class Map
  5. {
  6. public:
  7. Map();
  8.  
  9. struct EventCommand
  10. {
  11. unsigned char id;
  12.  
  13. std::string string;
  14. std::vector<int> parameters;
  15. };
  16.  
  17. struct Event
  18. {
  19. int x;
  20. int y;
  21.  
  22. std::string charset;
  23.  
  24. std::vector<EventCommand> commands;
  25. };
  26.  
  27. std::string name;
  28.  
  29. int w;
  30. int h;
  31.  
  32. std::string tileset;
  33.  
  34. std::vector<unsigned char> lower;
  35. std::vector<unsigned char> upper;
  36. std::vector<bool> passable;
  37.  
  38. std::vector<Event> events;
  39. };
  40.  
  41. #endif // MAP_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement