more naming convention

now there are spawn objects!
now entity spawns are loaded from level!
now entity spawns are saved to level!
This commit is contained in:
lustlion
2022-03-08 09:34:51 +01:00
parent a8ffae726f
commit 0acbfd5e9d
24 changed files with 165 additions and 139 deletions

View File

@@ -179,7 +179,7 @@ function Entity:getCollidingAt(x,y,object)
and y + self.box.from.y < collision.to.y
and y + self.box.to.y > collision.from.y
then
collision.isColliding = true
collision.is_colliding = true
return collision
end
end