Black Trigram (흑괘) - API Documentation - v0.2.10
GitHub
Game Website
Preparing search index...
types/components
GameEngineProps
Interface GameEngineProps
interface
GameEngineProps
{
gameMode
?:
GameMode
;
height
?:
number
;
isPaused
?:
boolean
;
onCombatResult
:
(
result
:
CombatResult
)
=>
void
;
onGameEvent
:
(
event
:
string
,
data
?:
any
)
=>
void
;
onPlayerUpdate
:
(
playerIndex
:
number
,
updates
:
Partial
<
PlayerState
>
,
)
=>
void
;
players
:
readonly
PlayerState
[]
;
width
?:
number
;
}
Index
Properties
game
Mode?
height?
is
Paused?
on
Combat
Result
on
Game
Event
on
Player
Update
players
width?
Properties
Optional
Readonly
game
Mode
gameMode
?:
GameMode
Optional
Readonly
height
height
?:
number
Optional
Readonly
is
Paused
isPaused
?:
boolean
Readonly
on
Combat
Result
onCombatResult
:
(
result
:
CombatResult
)
=>
void
Readonly
on
Game
Event
onGameEvent
:
(
event
:
string
,
data
?:
any
)
=>
void
Readonly
on
Player
Update
onPlayerUpdate
:
(
playerIndex
:
number
,
updates
:
Partial
<
PlayerState
>
)
=>
void
Readonly
players
players
:
readonly
PlayerState
[]
Optional
Readonly
width
width
?:
number
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Properties
game
Mode
height
is
Paused
on
Combat
Result
on
Game
Event
on
Player
Update
players
width
GitHub
Game Website
Black Trigram (흑괘) - API Documentation - v0.2.10
Loading...