id_
This commit is contained in:
parent
d5a60336f5
commit
9763040c99
4 changed files with 35 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue