feat: add a way to get screens from the gui
This commit is contained in:
parent
783ca58c78
commit
d85cd894fb
1 changed files with 4 additions and 0 deletions
|
@ -13,4 +13,8 @@ function ScreenList:deleteScreen(name)
|
||||||
self.screens[name] = nil
|
self.screens[name] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function ScreenList:getScreen(name)
|
||||||
|
return self.screens[name]
|
||||||
|
end
|
||||||
|
|
||||||
return ScreenList
|
return ScreenList
|
Loading…
Reference in a new issue