Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/entity.cc3
-rw-r--r--src/core/entity.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 47086ee..649212b 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -351,6 +351,9 @@ void Entity::receive_server_update(std::istream &is)
{
}
+void Entity::dock(core::Entity *entity)
+{
+}
void Entity::frame(float seconds)
{
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; }