3 ms·
Is there an API reference? I don't remember how to ask a guard for a key, and apparently it's not guard.askKey. edit: Ahh, got it. The @key was already given t
by matchu 13y ago
Is there an API reference? I don't remember how to ask a guard for a key, and apparently it's not guard.askKey.
edit: Ahh, got it. The @key was already given to me (was this specified somewhere?), so the guard didn't support askKey. I wonder if there's a more appropriate response than not having the method, but I'm not sure what it would be.
- effbott 13y ago'guard' is just a placeholder. Try typing key = @xzoor.askKey(@door)
- matchu 13y agoYeah, it was my placeholder. I was being told that @xzoor didn't have an askKey method, because it looks like he only does on the one level where you're told to ask him for it.
- Timothee 13y agoHad the same problem: I thought I had to add on top of the previous step. But asking for the key and unlocking the door was not necessary at that step.
- tempestn 13y agoYes, this got me too. I expected that it would be required to ask the guard for another key, and when that was supported I figured I must've misremembered the command. Then I tried passing in my previous key variable in case it was still stored there. Took a while to try unlocking without specifying a key.