puzzlescript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
DEBUG_
FLAG
INPUT_
BUTTON
MESSAGE_
TYPE
RULE_
DIRECTION
RULE_
DIRECTION_
RELATIVE
Empty
Game
Engine
Handler
constructor
on
Level
Change
on
Message
on
Pause
on
Press
on
Resume
on
Sound
on
Tick
on
Win
Cellish
Cellish
Json
Engineish
Game
Engine
Handler
Game
Engine
Handler
Optional
ICacheable
Puzzlescript
Worker
Serialized
Tick
Result
Typed
Message
Event
Optional
RULE_
DIRECTION_
WITH_
RELATIVE
Worker
Message
Worker
Response
random
Values
For
Testing
seed
_debounce
_flatten
clear
Random
Values
For
Testing
get
Random
Seed
next
Random
opposite
polling
Promise
reset
Random
Seed
set
Add
All
set
Difference
set
Equals
set
Intersection
set
Random
Values
For
Testing
should
Tick
Hierarchy
EmptyGameEngineHandler
Implements
GameEngineHandler
Index
Constructors
constructor
Methods
on
Level
Change
on
Message
on
Pause
on
Press
on
Resume
on
Sound
on
Tick
on
Win
Constructors
constructor
new
Empty
Game
Engine
Handler
(
subHandlers
?:
GameEngineHandlerOptional
[]
)
:
EmptyGameEngineHandler
Parameters
Optional
subHandlers:
GameEngineHandlerOptional
[]
Returns
EmptyGameEngineHandler
Methods
on
Level
Change
on
Level
Change
(
level
:
number
, cells
:
Optional
<
Cellish
[]
[]
>
, message
:
Optional
<
string
>
)
:
void
Parameters
level:
number
cells:
Optional
<
Cellish
[]
[]
>
message:
Optional
<
string
>
Returns
void
on
Message
on
Message
(
msg
:
string
)
:
Promise
<
void
>
Parameters
msg:
string
Returns
Promise
<
void
>
on
Pause
on
Pause
(
)
:
void
Returns
void
on
Press
on
Press
(
dir
:
INPUT_BUTTON
)
:
void
Parameters
dir:
INPUT_BUTTON
Returns
void
on
Resume
on
Resume
(
)
:
void
Returns
void
on
Sound
on
Sound
(
sound
:
Soundish
)
:
Promise
<
void
>
Parameters
sound:
Soundish
Returns
Promise
<
void
>
on
Tick
on
Tick
(
changedCells
:
Set
<
Cellish
>
, hasAgain
:
boolean
)
:
void
Parameters
changedCells:
Set
<
Cellish
>
hasAgain:
boolean
Returns
void
on
Win
on
Win
(
)
:
void
Returns
void
Generated using
TypeDoc