diff options
author | Aki <nthirtyone@gmail.com> | 2016-06-01 22:24:38 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-06-01 22:24:38 +0200 |
commit | 52609cc49d88f5b0d8610b5f6b792f0f423dc735 (patch) | |
tree | 4243590824e0f1b88ce3b568c483ef0af0a7b3f9 /selector.lua | |
parent | 9ff0d70933474f3a7c50f7c3c0fa52fffaa9cf75 (diff) | |
download | roflnauts-52609cc49d88f5b0d8610b5f6b792f0f423dc735.zip roflnauts-52609cc49d88f5b0d8610b5f6b792f0f423dc735.tar.gz roflnauts-52609cc49d88f5b0d8610b5f6b792f0f423dc735.tar.bz2 |
Menu menu menu -- still not complete
Diffstat (limited to 'selector.lua')
-rw-r--r-- | selector.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/selector.lua b/selector.lua index 8d1ef78..81e8d19 100644 --- a/selector.lua +++ b/selector.lua @@ -45,6 +45,9 @@ function Selector:clear() self.naut = 1 self.state = false end +function Selector:getSelectionName() + return self.parent.nauts[self.naut] +end function Selector:controllerPressed(control, controller) local n = #self.parent.nauts if control == "left" and not self.state then |