- Afegits els "switches" i el concepte de "flags"

This commit is contained in:
2023-01-31 15:46:03 +01:00
parent f03ed38d77
commit 2fb0749cf7
4 changed files with 37 additions and 3 deletions

View File

@@ -73,6 +73,10 @@ actors={
v.path=nil
game.update()
scene.cont()
if v.name == actors.hero then
local switch = switches.search(v.x,v.y)
if switch then switch.action() end
end
end
end
end