#ifndef MAP_HELPER_H #define MAP_HELPER_H #include #include #include "yasli/random.h" namespace Util { typedef std::pair TupleOfRects; typedef std::pair TupleOfUint8; typedef std::list< TupleOfRects > ListOfTupleOfRects; class SpriteCreationArea { public: //ListOfTupleOfRects validTuple; TupleOfRects validRects; void setRects(const SDL_Rect & allowed, const SDL_Rect & denied); TupleOfUint8 getValidCoord(); Random rnd; }; } #endif