Starchasers / OCGlasses

mod for minecraft and addon for Open Computers
zlib License
31 stars 17 forks source link

Able to change widgets after disconnecting the terminal #29

Closed natanbc closed 7 years ago

natanbc commented 7 years ago

After the widget has been added with component.glasses.add*(), if you disconnect the terminal you can still call functions on the widget and the changes apply to the game

For example: `local rect = require("component").glasses.addRect()

rect.setPosition(0,0) rect.setSize(10,10)

--disconnect the terminal here

rect.setColor(1,1,1) --works`