Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r--src/game/base/ship.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/base/ship.h b/src/game/base/ship.h
index 8b06727..4e95f5d 100644
--- a/src/game/base/ship.h
+++ b/src/game/base/ship.h
@@ -154,8 +154,12 @@ public:
/// reset physics state and ship controls
virtual void reset();
- virtual void collision(Entity *other);
+ /// collision callback
+ virtual void collision(core::Entity *other);
+ /// hit-by weapon callback
+ virtual void hit(core::Entity *other);
+
/// explode the ship
void explode();