From d4f8d1c8fde01a58bc757b588c9850e69225bc24 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 10 Nov 2013 01:46:24 +0000 Subject: Corrected a small bug in Entity::print(), added nudge randomizer option. --- src/core/entity.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/entity.h') 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 -- cgit v1.2.3