This commit is contained in:
0x81c 2015-03-11 21:41:02 -04:00
parent d5a60336f5
commit 9763040c99
4 changed files with 35 additions and 11 deletions

View file

@ -4,7 +4,7 @@ function Entity:initialize(t)
self.gridX, self.gridY = t.x, t.y
self.gridSize = {x = t.sizeX, y = t.sizeY}
self.color = Color:new(t.color)
self.collision = t.collision
self.collision = t.collision --either "none", "moveable", "unmoveable"
end
function Entity:atGridPos(x, y)