diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-09 00:29:58 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-09 00:29:58 +0000 |
commit | 41fcb9f3915db02c9255dc62f03d6b4a55e5b6d3 (patch) | |
tree | fd7953b9a59cc3a9c5aa3a70522bf46b787cfb16 /src/core/entity.h | |
parent | cf4deaa44bebafc829e21704f186e01faa2f940d (diff) |
Nudge ships on launch and cargopods on creation to prevent them from spawning inside other objects.
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index adeac0f..a1de121 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -674,6 +674,11 @@ public: virtual void reset(); /** + * @brief nudge the entity out of the radius of other entities in its current zune + */ + void nudge(); + + /** * @brief physics collision callback * This funcion is called by the physics engine if the entity collides with another entity. * It can be implemented by game child classes to provide collision effects and feedback. |