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
constructor
__coverage
Count
__source
collision
Layer
sprite
Name
OrLevel
Char
tiles
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
Descendant
Tiles
add
Cells
equals
get
Cells
That
Match
get
Collision
Layer
get
Collision
Layers
get
Name
get
Sprites
get
Sprites
That
Match
has
Cell
has
Negation
Tile
With
Modifier
has
Single
Collision
Layer
is
Or
matches
Cell
remove
Cells
set
Collision
Layer
subscribe
ToCell
Changes
to
Source
String
to
String
update
Cells
Game
Sprite
Game
Sprite
Pixels
Game
Sprite
Single
Color
IGame
Tile
Bit
Set2
Hierarchy
GameLegendTile
GameLegendTileSimple
Implements
IGameTile
Index
Constructors
constructor
Properties
__coverage
Count
__source
collision
Layer
sprite
Name
OrLevel
Char
tiles
Methods
__get
Line
And
Column
Range
__get
Source
Line
And
Column
__increment
Coverage
_get
Descendant
Tiles
add
Cells
equals
get
Cells
That
Match
get
Collision
Layer
get
Collision
Layers
get
Name
get
Sprites
get
Sprites
That
Match
has
Cell
has
Negation
Tile
With
Modifier
has
Single
Collision
Layer
is
Or
matches
Cell
remove
Cells
set
Collision
Layer
subscribe
ToCell
Changes
to
Source
String
to
String
update
Cells
Constructors
constructor
new
Game
Legend
Tile
Simple
(
source
:
IGameCode
, spriteNameOrLevelChar
:
string
, tile
:
GameSprite
)
:
GameLegendTileSimple
Parameters
source:
IGameCode
spriteNameOrLevelChar:
string
tile:
GameSprite
Returns
GameLegendTileSimple
Properties
__coverage
Count
__coverage
Count
:
Optional
<
number
>
__source
__source
:
IGameCode
Protected
collision
Layer
collision
Layer
:
Optional
<
CollisionLayer
>
sprite
Name
OrLevel
Char
sprite
Name
OrLevel
Char
:
string
tiles
tiles
:
IGameTile
[]
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
Cells
add
Cells
(
sprite
:
GameSprite
, cells
:
Cell
[]
, wantsToMove
:
Optional
<
RULE_DIRECTION
>
)
:
void
Parameters
sprite:
GameSprite
cells:
Cell
[]
wantsToMove:
Optional
<
RULE_DIRECTION
>
Returns
void
equals
equals
(
t
:
IGameTile
)
:
boolean
Parameters
t:
IGameTile
Returns
boolean
get
Cells
That
Match
get
Cells
That
Match
(
cells
?:
Iterable
<
Cellish
>
)
:
Set
<
any
>
Parameters
Optional
cells:
Iterable
<
Cellish
>
Returns
Set
<
any
>
get
Collision
Layer
get
Collision
Layer
(
)
:
CollisionLayer
Returns
CollisionLayer
get
Collision
Layers
get
Collision
Layers
(
)
:
any
[]
Returns
any
[]
get
Name
get
Name
(
)
:
string
Returns
string
get
Sprites
get
Sprites
(
)
:
GameSprite
[]
Returns
GameSprite
[]
get
Sprites
That
Match
get
Sprites
That
Match
(
cell
:
Cellish
)
:
Set
<
any
>
Parameters
cell:
Cellish
Returns
Set
<
any
>
has
Cell
has
Cell
(
cell
:
Cell
)
:
boolean
Parameters
cell:
Cell
Returns
boolean
has
Negation
Tile
With
Modifier
has
Negation
Tile
With
Modifier
(
)
:
boolean
Returns
boolean
has
Single
Collision
Layer
has
Single
Collision
Layer
(
)
:
boolean
Returns
boolean
is
Or
is
Or
(
)
:
boolean
Returns
boolean
matches
Cell
matches
Cell
(
cell
:
Cell
)
:
boolean
Parameters
cell:
Cell
Returns
boolean
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
subscribe
ToCell
Changes
subscribe
ToCell
Changes
(
t
:
SimpleTileWithModifier
)
:
void
Parameters
t:
SimpleTileWithModifier
Returns
void
to
Source
String
to
Source
String
(
)
:
string
Returns
string
to
String
to
String
(
)
:
string
Returns
string
update
Cells
update
Cells
(
sprite
:
GameSprite
, cells
:
Cell
[]
, wantsToMove
:
Optional
<
RULE_DIRECTION
>
)
:
void
Parameters
sprite:
GameSprite
cells:
Cell
[]
wantsToMove:
Optional
<
RULE_DIRECTION
>
Returns
void
Generated using
TypeDoc