DDNet documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
layer_front.h
Go to the documentation of this file.
1
#ifndef GAME_EDITOR_MAPITEMS_LAYER_FRONT_H
2
#define GAME_EDITOR_MAPITEMS_LAYER_FRONT_H
3
4
#include "
layer_tiles.h
"
5
6
class
CLayerFront
:
public
CLayerTiles
7
{
8
public
:
9
CLayerFront
(
CEditorMap
*pMap,
int
w,
int
h);
10
11
void
SetTile
(
int
x,
int
y,
CTile
Tile)
override
;
12
void
Resize
(
int
NewW,
int
NewH)
override
;
13
[[nodiscard]]
bool
IsEmpty
()
const override
;
14
15
const
char
*
TypeName
()
const override
;
16
};
17
18
#endif
CEditorMap
Definition
map.h:64
CLayerFront::CLayerFront
CLayerFront(CEditorMap *pMap, int w, int h)
Definition
layer_front.cpp:3
CLayerFront::Resize
void Resize(int NewW, int NewH) override
Definition
layer_front.cpp:31
CLayerFront::IsEmpty
bool IsEmpty() const override
Definition
layer_front.cpp:41
CLayerFront::SetTile
void SetTile(int x, int y, CTile Tile) override
Definition
layer_front.cpp:10
CLayerFront::TypeName
const char * TypeName() const override
Definition
layer_front.cpp:61
CLayerTiles::CLayerTiles
CLayerTiles(CEditorMap *pMap, int w, int h)
Definition
layer_tiles.cpp:18
CTile
Definition
mapitems.h:351
layer_tiles.h
src
game
editor
mapitems
layer_front.h
Generated by
1.18.0