Fission
FSN
Loading...
Searching...
No Matches
libs
fsTileMap
fsITileSet.h
Go to the documentation of this file.
1
/********************************************************************
2
*
3
* Created: 19/6/2014 16:57
4
*
5
* Purpose: Wrap up all tile set functionality
6
*
7
*********************************************************************/
8
9
#ifndef fsITileSethdr
10
#define fsITileSethdr
11
12
#include <memory>
13
14
#include <
fsCore/fsBaseTypes.h
>
15
16
#include <
fsRenderer/src/fsCBrush.h
>
17
18
19
namespace
fsNTileMap
20
{
21
class
fsITileSet
22
{
23
public
:
24
25
virtual
fsBool
collidable
(
fsS32
pTileId)
const
= 0;
26
27
virtual
std::shared_ptr<fsCBrush>
tileBrushGet
(
const
fsS32
pTileId) = 0;
28
29
virtual
~fsITileSet
() =
default
;
30
31
protected
:
32
33
fsITileSet
() =
default
;
34
35
private
:
36
37
};
38
}
39
40
#endif
41
fsNTileMap::fsITileSet::tileBrushGet
virtual std::shared_ptr< fsCBrush > tileBrushGet(const fsS32 pTileId)=0
fsNTileMap::fsITileSet::~fsITileSet
virtual ~fsITileSet()=default
fsNTileMap::fsITileSet::fsITileSet
fsITileSet()=default
fsNTileMap::fsITileSet::collidable
virtual fsBool collidable(fsS32 pTileId) const =0
fsBaseTypes.h
fsCBrush.h
fsBool
bool fsBool
Definition
fsBaseTypes.h:26
fsS32
int fsS32
Definition
fsBaseTypes.h:20
fsNTileMap
Definition
fsILayer.h:21
Generated on
for Fission by
1.16.1