GameKit
0.0.1a
C++ gamedev tools
include
gk
resource
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
17
#include "
gk/resource/ResourceHandler.hpp
"
18
19
namespace
gk
{
20
21
class
Tileset;
22
23
class
TilemapLoader
:
public
IResourceLoader
{
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_
gk::ResourceHandler
Definition:
ResourceHandler.hpp:26
gk
Definition:
AudioPlayer.hpp:21
ResourceHandler.hpp
gk::TilemapLoader::loadMap
void loadMap(const std::string &name, Tileset &tileset, ResourceHandler &handler)
Definition:
TilemapLoader.cpp:35
gk::IResourceLoader
Definition:
IResourceLoader.hpp:23
gk::TilemapLoader
Definition:
TilemapLoader.hpp:23
gk::Tileset
Definition:
Tileset.hpp:44
gk::TilemapLoader::load
void load(const char *xmlFilename, ResourceHandler &handler) override
Definition:
TilemapLoader.cpp:19
Generated by
1.8.12