puzzlescript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
BEFORE_
OR_
AFTER
Bracket
Pair
Cell
Mutation
Command
Mutation
Extra
Pair
ISimple
Bracket
Matched
Cells
For
Rule
Multi
Map
Replace
Direction
Replace
Tile
Simple
Bracket
Simple
Ellipsis
Bracket
constructor
__coverage
Count
__source
after
Ellipsis
Bracket
before
Ellipsis
Bracket
debug
Flag
direction
first
Cells
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
All
Neighbors
add
Cell
add
Cells
ToEmpty
Rules
add
First
Cell
clear
Caches
get
Matches
has
Matches
prepare
Action
remove
Cell
remove
First
Cell
subscribe
ToNeighbor
Changes
to
Key
to
Source
String
to
String
Simple
Neighbor
Simple
Rule
Simple
Rule
Group
Simple
Rule
Loop
Simple
Tile
With
Modifier
IMatched
Cell
And
Corresponding
Neighbors
IMutation
IRule
Bit
Set2
LRU_
CACHE_
SIZE
MAX_
ITERATIONS_
IN_
LOOP
SIMPLE_
DIRECTION_
DIRECTIONS
build
Permutations
command
ToKey
Hierarchy
ISimpleBracket
SimpleEllipsisBracket
Implements
ICacheable
Index
Constructors
constructor
Properties
__coverage
Count
__source
after
Ellipsis
Bracket
before
Ellipsis
Bracket
debug
Flag
direction
first
Cells
Methods
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
All
Neighbors
add
Cell
add
Cells
ToEmpty
Rules
add
First
Cell
clear
Caches
get
Matches
has
Matches
prepare
Action
remove
Cell
remove
First
Cell
subscribe
ToNeighbor
Changes
to
Key
to
Source
String
to
String
Constructors
constructor
new
Simple
Ellipsis
Bracket
(
source
:
IGameCode
, direction
:
RULE_DIRECTION
, beforeEllipsisNeighbors
:
SimpleNeighbor
[]
, afterEllipsisNeighbors
:
SimpleNeighbor
[]
, debugFlag
:
Optional
<
DEBUG_FLAG
>
)
:
SimpleEllipsisBracket
Parameters
source:
IGameCode
direction:
RULE_DIRECTION
beforeEllipsisNeighbors:
SimpleNeighbor
[]
afterEllipsisNeighbors:
SimpleNeighbor
[]
debugFlag:
Optional
<
DEBUG_FLAG
>
Returns
SimpleEllipsisBracket
Properties
__coverage
Count
__coverage
Count
:
Optional
<
number
>
__source
__source
:
IGameCode
after
Ellipsis
Bracket
after
Ellipsis
Bracket
:
SimpleBracket
before
Ellipsis
Bracket
before
Ellipsis
Bracket
:
SimpleBracket
debug
Flag
debug
Flag
:
Optional
<
DEBUG_FLAG
>
direction
direction
:
RULE_DIRECTION
Protected
first
Cells
first
Cells
:
Set
<
Cell
>
Methods
__get
Line
And
Column
Range
__get
Line
And
Column
Range
(
)
:
object
Returns
object
end
:
object
col
:
number
line
:
number
start
:
object
col
:
number
line
:
number
__get
Source
Line
And
Column
__get
Source
Line
And
Column
(
)
:
object
Returns
object
col
Num
:
number
line
:
string
line
Num
:
number
next
Line
:
null
|
string
prev
Line
:
null
|
string
__increment
Coverage
__increment
Coverage
(
)
:
void
Returns
void
_get
All
Neighbors
_get
All
Neighbors
(
)
:
SimpleNeighbor
[]
Returns
SimpleNeighbor
[]
add
Cell
add
Cell
(
index
:
number
, neighbor
:
SimpleNeighbor
, t
:
SimpleTileWithModifier
, sprite
:
GameSprite
, cell
:
Cell
, wantsToMove
:
Optional
<
RULE_DIRECTION
>
)
:
void
Parameters
index:
number
neighbor:
SimpleNeighbor
t:
SimpleTileWithModifier
sprite:
GameSprite
cell:
Cell
wantsToMove:
Optional
<
RULE_DIRECTION
>
Returns
void
add
Cells
ToEmpty
Rules
add
Cells
ToEmpty
Rules
(
cells
:
Iterable
<
Cell
>
)
:
void
Parameters
cells:
Iterable
<
Cell
>
Returns
void
add
First
Cell
add
First
Cell
(
bracket
:
SimpleBracket
, firstCell
:
Cell
, token
:
BEFORE_OR_AFTER
)
:
void
Parameters
bracket:
SimpleBracket
firstCell:
Cell
token:
BEFORE_OR_AFTER
Returns
void
clear
Caches
clear
Caches
(
)
:
void
Returns
void
get
Matches
get
Matches
(
level
:
Level
, actionBracket
:
Optional
<
SimpleEllipsisBracket
>
)
:
MatchedCellsForRule
[]
Parameters
level:
Level
actionBracket:
Optional
<
SimpleEllipsisBracket
>
Returns
MatchedCellsForRule
[]
has
Matches
has
Matches
(
level
:
Level
, actionBracket
:
Optional
<
ISimpleBracket
>
)
:
boolean
Parameters
level:
Level
actionBracket:
Optional
<
ISimpleBracket
>
Returns
boolean
prepare
Action
prepare
Action
(
action
:
ISimpleBracket
)
:
void
Parameters
action:
ISimpleBracket
Returns
void
remove
Cell
remove
Cell
(
index
:
number
, neighbor
:
SimpleNeighbor
, t
:
SimpleTileWithModifier
, sprite
:
GameSprite
, cell
:
Cell
)
:
void
Parameters
index:
number
neighbor:
SimpleNeighbor
t:
SimpleTileWithModifier
sprite:
GameSprite
cell:
Cell
Returns
void
remove
First
Cell
remove
First
Cell
(
bracket
:
SimpleBracket
, firstCell
:
Cell
, token
:
BEFORE_OR_AFTER
)
:
void
Parameters
bracket:
SimpleBracket
firstCell:
Cell
token:
BEFORE_OR_AFTER
Returns
void
subscribe
ToNeighbor
Changes
subscribe
ToNeighbor
Changes
(
)
:
void
Returns
void
to
Key
to
Key
(
)
:
string
Returns
string
to
Source
String
to
Source
String
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
Generated using
TypeDoc