PlayerManager class
A class to access to all player entities on the game
Signature:
export declare class PlayerManager
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the PlayerManager
class.
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
main | PlayerWrapper | Main player of the game | |
opts | { isMuliplayer?: boolean; user?: any; } | ||
players | Record<string, PlayerWrapper> | A record containing all the current players connected to the game |