requireAuthority
requireAuthority(
world):Authority
world’s authority, for code outside a step: a room’s handler between
steps, a test, a game played alone. Throws on a page in a room, which
decides nothing: a page’s code that branches asks isAuthoritative
first. A system takes its step’s authority instead.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |