1portalwall = class:new() 2 3function portalwall:init(x, y, width, height) 4 self.x = x 5 self.y = y 6 self.width = width 7 self.height = height 8 self.static = true 9 self.active = true 10 self.category = 12 11 self.mask = {true} 12end