From e6644d6b235005de9ba1b9884472fa5f5d8d6074 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 20 Mar 2022 18:49:49 +0100 Subject: refactor: update event system terminology & structure --- src/engine/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/engine.cpp') diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index ed81ed3..e463f28 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -49,6 +49,6 @@ void CLIGameEngine::_configure_input( auto key = config_pair.first; auto command = config_pair.second; - _input_handler->attach(key, command); + _input_handler->subscribe(key, command); } } -- cgit v1.2.3-18-g5258