summaryrefslogtreecommitdiff
path: root/src/command_queue.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_queue.lua')
-rw-r--r--src/command_queue.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command_queue.lua b/src/command_queue.lua
index 2bb34c6..6bfd3d6 100644
--- a/src/command_queue.lua
+++ b/src/command_queue.lua
@@ -60,6 +60,11 @@ function command_queue:get_current_command()
return self.current
end
+function command_queue:get_expected_response()
+ if(self.current == nil) then return end
+ return self.current.expected_response
+end
+
function command_queue:get_next_command()
if(self.current ~= nil) then return nil end