require "entity" -- A visual boundary that only affects player movement. It deliberately stays -- out of the ordinary collidable matrix, so moveable blocks can occupy and -- pass through the same cell. GenericPlayerBlocker = class("GenericPlayerBlocker", Entity) function GenericPlayerBlocker:initialize(x, y, color, sprite, cellShape) Entity.initialize(self, { x = x, y = y, color = color, collision = "none", sprite = sprite, cellShape = cellShape }) end function GenericPlayerBlocker:blocksPlayer() return true end