Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ui = require "cara_ui"
- local PrimaryScreen = {}
- function PrimaryScreen.draw()
- local panelRect = ui.layout.full()
- local contentArea = ui.widgets.panel(panelRect, "Computer-Aided Reliance Assistant", "center")
- end
- function PrimaryScreen.key(key)
- if key == keys.q then
- return {
- type = "quit"
- }
- end
- return nil
- end
- function PrimaryScreen.tick()
- end
- return PrimaryScreen
Advertisement
Add Comment
Please, Sign In to add comment