npc = class("npc", Entity) function npc:initialize(x, y, color, name) Entity.initialize(self, { x = x, y = y, color = color, collision = "none", --player can't push other player sprite = npcSprites[name][color] }) end