aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Script.h')
-rw-r--r--src/crepe/api/Script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/api/Script.h b/src/crepe/api/Script.h
index c9eb211..4d98e4d 100644
--- a/src/crepe/api/Script.h
+++ b/src/crepe/api/Script.h
@@ -87,6 +87,8 @@ protected:
template <typename... Args>
void logf(Args &&... args);
+ game_object_id_t get_game_object_id() const { return this->game_object_id; };
+
/**
* \brief Subscribe to an event
*