From cbd154a4834f56146dbe744ee2d2c6dccc04c5cb Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 5 Jan 2017 07:31:32 -0500 Subject: todo finder --- include/components.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/components.hpp b/include/components.hpp index 5c067dd..5bafa02 100644 --- a/include/components.hpp +++ b/include/components.hpp @@ -295,7 +295,12 @@ struct Dialog { /** * Causes the entity to hop around. */ -struct Hop {}; // TODO require wander, for range? +struct Hop { + Hop(float r = 0) + : hopRatio(r) {} + + float hopRatio; +}; /** * Causes the entity to wander about. -- cgit v1.2.3