movement update and fixes

This commit is contained in:
2021-12-27 17:18:47 +01:00
parent 5f6e23b921
commit 56ffd396bc
5 changed files with 89 additions and 82 deletions

View File

@@ -25,9 +25,9 @@ function Entity:changeState(name)
-- printChangeState to "..name)
end
-- function Entity:isMoveAllowed(point)
-- return point.x, point.y
-- end
function Entity:isMoveAllowed(point)
return true
end
function Entity:changeAnimation(name)
self.currentAnimation = self.animations[name]