Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MovingPlatformPlayerUpdateEvent<RoomType>

Emitted when the player on a moving platform is updated. This is also when the moving platform moves left or right.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Static eventName

eventName: "movingplatform.updateplayer" = ...

eventName

eventName: "movingplatform.updateplayer" = ...

Readonly message

message: undefined | RepairSystemMessage

The message that this event originated from.

Readonly movingplatform

movingplatform: MovingPlatformSystem<RoomType>

The moving platform system that this event is for.

Readonly player

player: undefined | PlayerData<RoomType>

reverted

reverted: boolean

Readonly room

room: RoomType

The room or client that the event came from.

Readonly side

Accessors

alteredPlayer

  • get alteredPlayer(): undefined | PlayerData<RoomType>

alteredSide

Constructors

constructor

Methods

revert

  • revert(): void

setPlayer

  • setPlayer(player: undefined | PlayerData<RoomType>): void

setSide

Generated using TypeDoc