We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69afd2 commit f51eb9cCopy full SHA for f51eb9c
ScreenManager.lua
@@ -60,11 +60,12 @@ end
60
-- @param screen (string) The key of the first screen to push to the stack.
61
-- Use the key under which the screen in question is
62
-- stored in the nscreens table.
63
+-- @param ... (vararg) One or multiple arguments passed to the new screen.
64
--
-function ScreenManager.init( nscreens, screen )
65
+function ScreenManager.init( nscreens, screen, ... )
66
stack = {};
67
screens = nscreens;
- ScreenManager.push( screen );
68
+ ScreenManager.push( screen, ... );
69
end
70
71
---
0 commit comments