GameKit  0.0.1a
C++ gamedev tools
TilemapLoader.hpp
Go to the documentation of this file.
1 /*
2  * =====================================================================================
3  *
4  * Filename: TilemapLoader.hpp
5  *
6  * Description:
7  *
8  * Created: 15/02/2019 19:31:39
9  *
10  * Author: Quentin Bazin, <quent42340@gmail.com>
11  *
12  * =====================================================================================
13  */
14 #ifndef GK_TILEMAPLOADER_HPP_
15 #define GK_TILEMAPLOADER_HPP_
16 
18 
19 namespace gk {
20 
21 class Tileset;
22 
24  public:
25  void load(const char *xmlFilename, ResourceHandler &handler) override;
26 
27  private:
28  void loadMap(const std::string &name, Tileset &tileset, ResourceHandler &handler);
29 };
30 
31 } // namespace gk
32 
33 #endif // GK_TILEMAPLOADER_HPP_
void loadMap(const std::string &name, Tileset &tileset, ResourceHandler &handler)
void load(const char *xmlFilename, ResourceHandler &handler) override