| 1 | #ifndef GAME_EDITOR_MAPITEMS_LAYER_GAME_H |
| 2 | #define GAME_EDITOR_MAPITEMS_LAYER_GAME_H |
| 3 | |
| 4 | #include "layer_tiles.h" |
| 5 | |
| 6 | class CLayerGame : public CLayerTiles |
| 7 | { |
| 8 | public: |
| 9 | CLayerGame(CEditorMap *pMap, int w, int h); |
| 10 | ~CLayerGame() override; |
| 11 | |
| 12 | [[nodiscard]] CTile GetTile(int x, int y) const override; |
| 13 | void SetTile(int x, int y, CTile Tile) override; |
| 14 | [[nodiscard]] bool IsEmpty() const override; |
| 15 | |
| 16 | const char *TypeName() const override; |
| 17 | |
| 18 | CUi::EPopupMenuFunctionResult RenderProperties(CUIRect *pToolbox) override; |
| 19 | }; |
| 20 | |
| 21 | #endif |
| 22 | |