Nocturna
Preparing search index...
states/MultiSceneStates
ActionSelectionState
Class ActionSelectionState
ActionSelectionState handles the action selection phase for multiplayer.
Allows players to select actions or objects before resuming gameplay.
Updates the camera and objects with a "fake" input (no movement).
Hierarchy (
View Summary
)
InGameState
ActionSelectionState
Index
Constructors
constructor
Properties
game
Scene
Methods
enter
exit
on
Connection
Established
on
Participant
Joined
on
Participant
Left
on
Peer
Message
on
Room
Created
on
Room
Creation
Failed
on
Room
Joined
on
Room
Join
Failed
render
update
Constructors
constructor
new
ActionSelectionState
(
gameScene
:
MultiScene
)
:
ActionSelectionState
Parameters
gameScene
:
MultiScene
Returns
ActionSelectionState
Properties
Protected
game
Scene
gameScene
:
MultiScene
Methods
enter
enter
()
:
void
Returns
void
exit
exit
()
:
void
Returns
void
on
Connection
Established
onConnectionEstablished
(
_
:
string
)
:
void
Parameters
_
:
string
Returns
void
on
Participant
Joined
onParticipantJoined
(
_
:
string
)
:
void
Parameters
_
:
string
Returns
void
on
Participant
Left
onParticipantLeft
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
on
Peer
Message
onPeerMessage
(
participantId
:
string
,
action
:
string
,
data
:
any
)
:
void
Parameters
participantId
:
string
action
:
string
data
:
any
Returns
void
on
Room
Created
onRoomCreated
(
_
:
string
)
:
void
Parameters
_
:
string
Returns
void
on
Room
Creation
Failed
onRoomCreationFailed
(
_
:
string
)
:
void
Parameters
_
:
string
Returns
void
on
Room
Joined
onRoomJoined
(
_
:
string
,
__
:
string
,
___
:
string
[]
)
:
void
Parameters
_
:
string
__
:
string
___
:
string
[]
Returns
void
on
Room
Join
Failed
onRoomJoinFailed
(
_
:
string
)
:
void
Parameters
_
:
string
Returns
void
render
render
()
:
void
Returns
void
update
update
(
dt
:
number
,
input
:
CharacterInput
)
:
AbstractGameSceneState
Parameters
dt
:
number
input
:
CharacterInput
Returns
AbstractGameSceneState
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
game
Scene
Methods
enter
exit
on
Connection
Established
on
Participant
Joined
on
Participant
Left
on
Peer
Message
on
Room
Created
on
Room
Creation
Failed
on
Room
Joined
on
Room
Join
Failed
render
update
Nocturna
Loading...
ActionSelectionState handles the action selection phase for multiplayer.