- Treballant en poder editar guay les propietats

This commit is contained in:
2024-06-10 14:14:13 +02:00
parent edc88eec89
commit 1af08ecf3c
3 changed files with 26 additions and 10 deletions

View File

@@ -337,6 +337,11 @@ namespace room
namespace editor
{
int &refWidth() { return inner_w; }
int &refHeight() { return inner_h; }
uint8_t &refDoor(const int which) { return door_height[which]; }
void setWidth(const int value) { inner_w = value; update(); }
void setHeight(const int value) { inner_h = value; update(); }
void setDoor(const int which, const int value) { door_height[which] = value; update(); }