From f5781b3b56524865faf5875dfc298e6cc139bd5b Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 17 Aug 2021 11:19:48 -0400 Subject: [PATCH] Add Module::getExpander(). --- include/engine/Module.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/engine/Module.hpp b/include/engine/Module.hpp index a024af4f..384b175b 100644 --- a/include/engine/Module.hpp +++ b/include/engine/Module.hpp @@ -277,6 +277,9 @@ struct Module { Expander& getRightExpander() { return rightExpander; } + Expander& getExpander(bool side) { + return side ? rightExpander : leftExpander; + } // Virtual methods