You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DetectiveSmith edited this page Apr 6, 2015
·
3 revisions
Menu.drawMenuBox()
Menu.Write()
Menu.newInterface( string interfaceName, function newInterface)
Creates a new interface for blocks and other stuff to have.
The arguments passed to the function will be a table of events. ( i.e. {os.pullEvent()} )
Menu.getInterface( string interfaceName )
Return Value:function interface
Returns an interface, which is ran by passing a table of events to it.
Crafting = Menu.getInterface("Crafting")
Crafting({os.pullEvent})
Used mainly by the game loop.