puzzlescript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Game
Legend
Tile
Game
Legend
Tile
And
Game
Legend
Tile
Or
Game
Legend
Tile
Simple
Game
Sprite
Game
Sprite
Pixels
Game
Sprite
Single
Color
constructor
__coverage
Count
__source
_optional
Legend
Char
all
Sprites
Bit
Set
Index
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
Descendant
Tiles
add
Cell
add
Cells
clear
Caches
equals
get
Cells
That
Match
get
Collision
Layer
get
Name
get
Pixels
get
Sprites
get
Sprites
That
Match
has
has
Cell
has
Collision
Layer
has
Negation
Tile
With
Modifier
has
Pixels
has
Single
Collision
Layer
is
Background
is
Or
matches
Cell
remove
Cell
remove
Cells
set
Collision
Layer
set
Collision
Layer
And
Index
subscribe
ToCell
Changes
subscribe
ToCell
Changes
Tile
to
Source
String
to
String
update
Cell
update
Cells
IGame
Tile
Bit
Set2
Hierarchy
GameSprite
GameSpriteSingleColor
Implements
IGameTile
Index
Constructors
constructor
Properties
__coverage
Count
__source
_optional
Legend
Char
all
Sprites
Bit
Set
Index
Methods
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
Descendant
Tiles
add
Cell
add
Cells
clear
Caches
equals
get
Cells
That
Match
get
Collision
Layer
get
Name
get
Pixels
get
Sprites
get
Sprites
That
Match
has
has
Cell
has
Collision
Layer
has
Negation
Tile
With
Modifier
has
Pixels
has
Single
Collision
Layer
is
Background
is
Or
matches
Cell
remove
Cell
remove
Cells
set
Collision
Layer
set
Collision
Layer
And
Index
subscribe
ToCell
Changes
subscribe
ToCell
Changes
Tile
to
Source
String
to
String
update
Cell
update
Cells
Constructors
constructor
new
Game
Sprite
Single
Color
(
source
:
IGameCode
, name
:
string
, optionalLegendChar
:
Optional
<
string
>
, colors
:
IColor
[]
)
:
GameSpriteSingleColor
Parameters
source:
IGameCode
name:
string
optionalLegendChar:
Optional
<
string
>
colors:
IColor
[]
Returns
GameSpriteSingleColor
Properties
__coverage
Count
__coverage
Count
:
Optional
<
number
>
__source
__source
:
IGameCode
_optional
Legend
Char
_optional
Legend
Char
:
Optional
<
string
>
all
Sprites
Bit
Set
Index
all
Sprites
Bit
Set
Index
:
number
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
Descendant
Tiles
_get
Descendant
Tiles
(
)
:
IGameTile
[]
Returns
IGameTile
[]
add
Cell
add
Cell
(
cell
:
Cell
, wantsToMove
:
Optional
<
RULE_DIRECTION
>
)
:
void
Parameters
cell:
Cell
wantsToMove:
Optional
<
RULE_DIRECTION
>
Returns
void
add
Cells
add
Cells
(
sprite
:
GameSprite
, cells
:
Cell
[]
, wantsToMove
:
Optional
<
RULE_DIRECTION
>
)
:
void
Parameters
sprite:
GameSprite
cells:
Cell
[]
wantsToMove:
Optional
<
RULE_DIRECTION
>
Returns
void
clear
Caches
clear
Caches
(
)
:
void
Returns
void
equals
equals
(
t
:
IGameTile
)
:
boolean
Parameters
t:
IGameTile
Returns
boolean
get
Cells
That
Match
get
Cells
That
Match<T>
(
cells
?:
Iterable
<
T
>
)
:
Set
<
any
>
Type parameters
T
:
Cellish
Parameters
Optional
cells:
Iterable
<
T
>
Returns
Set
<
any
>
get
Collision
Layer
get
Collision
Layer
(
)
:
CollisionLayer
Returns
CollisionLayer
get
Name
get
Name
(
)
:
string
Returns
string
get
Pixels
get
Pixels
(
spriteHeight
:
number
, spriteWidth
:
number
)
:
IColor
[]
[]
Parameters
spriteHeight:
number
spriteWidth:
number
Returns
IColor
[]
[]
get
Sprites
get
Sprites
(
)
:
this
[]
Returns
this
[]
get
Sprites
That
Match
get
Sprites
That
Match
(
cell
:
Cellish
)
:
Set
<
any
>
Parameters
cell:
Cellish
Returns
Set
<
any
>
has
has
(
cell
:
Cell
)
:
boolean
Parameters
cell:
Cell
Returns
boolean
has
Cell
has
Cell
(
cell
:
Cell
)
:
boolean
Parameters
cell:
Cell
Returns
boolean
has
Collision
Layer
has
Collision
Layer
(
)
:
boolean
Returns
boolean
has
Negation
Tile
With
Modifier
has
Negation
Tile
With
Modifier
(
)
:
boolean
Returns
boolean
has
Pixels
has
Pixels
(
)
:
boolean
Returns
boolean
has
Single
Collision
Layer
has
Single
Collision
Layer
(
)
:
boolean
Returns
boolean
is
Background
is
Background
(
)
:
boolean
Returns
boolean
is
Or
is
Or
(
)
:
boolean
Returns
boolean
matches
Cell
matches
Cell
(
cell
:
Cellish
)
:
boolean
Parameters
cell:
Cellish
Returns
boolean
remove
Cell
remove
Cell
(
cell
:
Cell
)
:
void
Parameters
cell:
Cell
Returns
void
remove
Cells
remove
Cells
(
sprite
:
GameSprite
, cells
:
Cell
[]
)
:
void
Parameters
sprite:
GameSprite
cells:
Cell
[]
Returns
void
set
Collision
Layer
set
Collision
Layer
(
collisionLayer
:
CollisionLayer
)
:
void
Parameters
collisionLayer:
CollisionLayer
Returns
void
set
Collision
Layer
And
Index
set
Collision
Layer
And
Index
(
collisionLayer
:
CollisionLayer
, bitSetIndex
:
number
)
:
void
Parameters
collisionLayer:
CollisionLayer
bitSetIndex:
number
Returns
void
subscribe
ToCell
Changes
subscribe
ToCell
Changes
(
t
:
SimpleTileWithModifier
)
:
void
Parameters
t:
SimpleTileWithModifier
Returns
void
subscribe
ToCell
Changes
Tile
subscribe
ToCell
Changes
Tile
(
tile
:
IGameTile
)
:
void
Parameters
tile:
IGameTile
Returns
void
to
Source
String
to
Source
String
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
update
Cell
update
Cell
(
cell
:
Cell
, wantsToMove
:
RULE_DIRECTION
)
:
void
Parameters
cell:
Cell
wantsToMove:
RULE_DIRECTION
Returns
void
update
Cells
update
Cells
(
sprite
:
GameSprite
, cells
:
Cell
[]
, wantsToMove
:
RULE_DIRECTION
)
:
void
Parameters
sprite:
GameSprite
cells:
Cell
[]
wantsToMove:
RULE_DIRECTION
Returns
void
Generated using
TypeDoc