From 79ee9672108ae4b86a76310a750a6fbb877d63dd Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 2 Mar 2020 14:06:13 -0500 Subject: [PATCH] Fix documentation of Module. --- include/engine/Module.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/engine/Module.hpp b/include/engine/Module.hpp index 1e693846..724b901d 100644 --- a/include/engine/Module.hpp +++ b/include/engine/Module.hpp @@ -269,13 +269,13 @@ struct Module { struct ResetEvent {}; /** Called when the user resets (initializes) the module. - The default implementation resets all parameters to their default value, so you must call `Module::onRandomize(e)` if you want to keep this behavior. + The default implementation resets all parameters to their default value, so you must call `Module::onReset(e)` in your overridden method if you want to keep this behavior. */ virtual void onReset(const ResetEvent& e); struct RandomizeEvent {}; /** Called when the user randomizes the module. - The default implementation randomizes all parameters by default, so you must call `Module::onRandomize(e)` if you want to keep this behavior. + The default implementation randomizes all parameters by default, so you must call `Module::onRandomize(e)` in your overridden method if you want to keep this behavior. */ virtual void onRandomize(const RandomizeEvent& e);