summaryrefslogtreecommitdiff
path: root/src/engine/objects
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-07-19 16:41:23 -0600
committerGitHub <noreply@github.com>2025-07-19 16:41:23 -0600
commit0881cdf2856cc8168a20c34721f5025c591872af (patch)
tree0ad10d73941fcd97a7a9d8fe755d18d8b1685a57 /src/engine/objects
parent5b2b4e2c4778bb18ec9f6d231f3661ddd802a081 (diff)
Label Thwomp Behaviour Enums (#486)
* Label thwomp behaviour enum * Update BowsersCastle.cpp * Update Thwomp.h
Diffstat (limited to 'src/engine/objects')
-rw-r--r--src/engine/objects/Thwomp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/objects/Thwomp.h b/src/engine/objects/Thwomp.h
index 647ef126a..6822b4e31 100644
--- a/src/engine/objects/Thwomp.h
+++ b/src/engine/objects/Thwomp.h
@@ -31,7 +31,7 @@ extern "C" {
* @arg boundingBoxSize optional. The size of the bounding box for the thwomp. Default value is 12
*/
class OThwomp : public OObject {
-private:
+public:
enum States : uint16_t {
DISABLED,
STATIONARY,
@@ -42,7 +42,6 @@ private:
JAILED // Has no collision
};
-public:
States State = States::DISABLED;
explicit OThwomp(s16 x, s16 z, s16 direction, f32 scale, s16 behaviour, s16 primAlpha, u16 boundingBoxSize = 7);