Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAP_H
- #define MAP_H
- class Map
- {
- public:
- Map();
- struct EventCommand
- {
- unsigned char id;
- std::string string;
- std::vector<int> parameters;
- };
- struct Event
- {
- int x;
- int y;
- std::string charset;
- std::vector<EventCommand> commands;
- };
- std::string name;
- int w;
- int h;
- std::string tileset;
- std::vector<unsigned char> lower;
- std::vector<unsigned char> upper;
- std::vector<bool> passable;
- std::vector<Event> events;
- };
- #endif // MAP_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement