- Afegits els "switches" i el concepte de "flags"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user