9 lines
168 B
Lua
9 lines
168 B
Lua
|
|
require "switch"
|
||
|
|
|
||
|
|
WiredSwitch = class("WiredSwitch", Switch)
|
||
|
|
|
||
|
|
function WiredSwitch:initialize(x, y, color)
|
||
|
|
Switch.initialize(self, x, y, color)
|
||
|
|
self.wired = true
|
||
|
|
end
|