Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index c75bd41..bd26abe 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -167,6 +167,9 @@ public:
*/
virtual void frame(float seconds);
+ /// called when the entity received a docking request
+ virtual void dock(core::Entity *entity);
+
/// set dirty flag
inline void set_dirty() { entity_dirty = true; }