require "switch" WiredSwitch = class("WiredSwitch", Switch) function WiredSwitch:initialize(x, y, color) Switch.initialize(self, x, y, color) self.wired = true end