Preparing search index...
The search index is not available
tetr.js
tetr.js
Player
Class Player
Index
Constructors
constructor
Properties
bag
bag
Queue
board
current
Bag?
id
last
Generated?
options
replay
Frames
t
user
Accessors
current
Piece
next
Pieces
Methods
next
next
Float
next
Piece
reset
Bag
shuffle
Array
Constructors
constructor
new
Player
(
player
,
user
)
:
Player
Parameters
player
:
any
user
:
User
Returns
Player
Properties
Private
bag
bag
:
string
[]
= ...
Private
bag
Queue
bag
Queue
:
string
[]
[]
= []
board
board
:
any
Private
Optional
current
Bag
current
Bag
?:
string
[]
= []
id
id
:
string
Private
Optional
last
Generated
last
Generated
?:
number
options
options
:
any
replay
Frames
replay
Frames
:
any
[]
= []
Private
t
t
:
number
= 0
user
user
:
User
Accessors
current
Piece
get
currentPiece
(
)
:
undefined
|
string
Returns
undefined
|
string
next
Pieces
get
nextPieces
(
)
:
string
[]
Returns
string
[]
Methods
Private
next
next
(
)
:
number
Returns
number
Private
next
Float
next
Float
(
)
:
number
Returns
number
Private
next
Piece
next
Piece
(
)
:
void
Returns
void
reset
Bag
reset
Bag
(
)
:
void
Returns
void
Private
shuffle
Array
shuffle
Array
(
array
)
:
string
[]
Parameters
array
:
string
[]
Returns
string
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
bag
bag
Queue
board
current
Bag
id
last
Generated
options
replay
Frames
t
user
current
Piece
next
Pieces
next
next
Float
next
Piece
reset
Bag
shuffle
Array
tetr.js
Client
ClientPlayer
ClientUser
Game
Player
Room
User
GameOptions
Member
TetraChannel
Generated using
TypeDoc