From 80e5ee4680b6d2389b091e5906982b53e034f103 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 20 Sep 2023 18:57:26 +0200 Subject: [PATCH] =?UTF-8?q?-=20Es=20pot=20reclamar=20el=20color=20de=20l'h?= =?UTF-8?q?abitaci=C3=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/room.cpp | 4 ++++ source/room.h | 1 + 2 files changed, 5 insertions(+) diff --git a/source/room.cpp b/source/room.cpp index e610b09..6d9ded5 100644 --- a/source/room.cpp +++ b/source/room.cpp @@ -224,4 +224,8 @@ namespace room return door_height[d]; } + uint8_t getColor() + { + return color; + } } diff --git a/source/room.h b/source/room.h index 85a2b44..3c15779 100644 --- a/source/room.h +++ b/source/room.h @@ -23,4 +23,5 @@ namespace room vec3_t getMax(); uint8_t getDoors(); uint8_t getDoor(const int d); + uint8_t getColor(); }