Nocturna
    Preparing search index...

    Interface LobbyObserver

    LobbyObserver defines the interface for objects that want to be notified of lobby events.

    interface LobbyObserver {
        onReady(): void;
        onRoomCreation(playerId: string): void;
        onRoomJoin(roomId: string, playerId: string): void;
    }

    Implemented by

    Index

    Methods

    • Parameters

      • playerId: string

      Returns void

    • Parameters

      • roomId: string
      • playerId: string

      Returns void