Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- GUI Test
- -- DESCRIPTION:
- -- Just some code to figure out how computercraft GUI stuff works for my other projects.
- -- pull.lua
- -- shell.run("rm LDrone")
- -- shell.run("pastebin get hhv2GEpZ LDrone")
- local GUI_Builder = {}
- GUI_Builder.__index = GUI_Builder
- function GUI_Builder:new()
- local obj = {}
- setmetatable(obj, GUI_Builder)
- self.x_length, self.y_length = term.getSize()
- return obj
- end
- function GUI_Builder:test()
- print(self.x_length)
- print(self.y_length)
- end
- local guib = GUI_Builder:new()
- guib:test()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement