diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-10 01:46:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-10 01:46:24 +0000 |
commit | d4f8d1c8fde01a58bc757b588c9850e69225bc24 (patch) | |
tree | 76b0ba82fca051d95a7570e13c9a58f648ed45bf /src/core/entity.h | |
parent | 1a1842473c826f4cf327d336b30a1f874e0e470b (diff) |
Corrected a small bug in Entity::print(),
added nudge randomizer option.
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index de4f210..f5a6d52 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -681,8 +681,9 @@ public: /** * @brief nudge the entity out of the radius of other entities in its current zune + * @param randomize if false, nudge according to axus.forward(), if false, nudge along a random axis */ - void nudge(); + void nudge(const bool randomize = true); /** * @brief physics collision callback |