- 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

@@ -19,6 +19,7 @@ namespace room
void init();
void load(const int room);
//void load(int x, int y, int8_t xp, int8_t xn, int8_t yp, int8_t yn, uint8_t col, uint8_t floor, uint8_t walls, uint8_t door, uint8_t doorwall);
void update();
void draw();
void draw2();
@@ -31,6 +32,11 @@ namespace room
namespace editor
{
int &refWidth();
int &refHeight();
uint8_t &refDoor(const int which);
void setWidth(const int value);
void setHeight(const int value);
void setDoor(const int which, const int value);