SkeldJS
    Preparing search index...

    Class PlayerCheckColorEvent<RoomType>

    Emitted when a player requests to have their color set. Only emitted if the client is the host.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    eventName: "player.checkcolor" = ...
    alteredColor: Color

    The altered color, i.e. the original color was taken.

    canceled: boolean
    eventName: "player.checkcolor" = ...
    message: undefined | CheckColorMessage

    The message that this event originated from.

    originalColor: Color

    The original color that the player asked for.

    player: Player<RoomType>
    room: RoomType

    Methods