diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-20 17:38:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-20 17:38:55 +0000 |
commit | 08f0d0fb6a57f9c398bc03ed9a3cc9537a1f3e18 (patch) | |
tree | b7d67889e895b1fe5d7f70aab7b4296d77ff7e89 /src/game/base/jumppoint.h | |
parent | 21e6267e3f998a467ca3b5ec225e6d03653aed97 (diff) |
docking functions cleanup, jumpgates work again
Diffstat (limited to 'src/game/base/jumppoint.h')
-rw-r--r-- | src/game/base/jumppoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/base/jumppoint.h b/src/game/base/jumppoint.h index fe29727..cb3ee28 100644 --- a/src/game/base/jumppoint.h +++ b/src/game/base/jumppoint.h @@ -15,6 +15,8 @@ namespace game { +class Ship; + /// a jumppoint /** * jumppoints are used to define hyperspace routes between systems. @@ -57,8 +59,8 @@ public: /// validate the targetlabel and set target() virtual void validate(); - /// entity received a docking request - virtual void dock(core::Entity *entity); + /// a ship wants to use the jumpgate + void func_dock(Ship *ship); inline bool activated() const { return (jumpgate_timer > 0); |