DDNet documentation
Loading...
Searching...
No Matches
layer_selector.h
Go to the documentation of this file.
1#ifndef GAME_EDITOR_LAYER_SELECTOR_H
2#define GAME_EDITOR_LAYER_SELECTOR_H
3
4#include "component.h"
5
7{
8public:
9 CHoverTile(int Group, int Layer) :
10 m_Group(Group),
11 m_Layer(Layer)
12 {
13 }
14
17};
18
20{
22 std::vector<CHoverTile> m_vHoverTiles;
23
24public:
25 void OnInit(CEditor *pEditor) override;
26 bool SelectByTile();
27 void UpdateHoveredTiles();
28};
29
30#endif
Definition component.h:13
Definition editor.h:109
CHoverTile(int Group, int Layer)
Definition layer_selector.h:9
int m_Layer
Definition layer_selector.h:16
int m_Group
Definition layer_selector.h:15
Definition layer_selector.h:20
std::vector< CHoverTile > m_vHoverTiles
Definition layer_selector.h:22
int m_SelectionOffset
Definition layer_selector.h:21
void OnInit(CEditor *pEditor) override
Definition layer_selector.cpp:7
bool SelectByTile()
Definition layer_selector.cpp:14
void UpdateHoveredTiles()
Definition layer_selector.cpp:58