MCPcopy Create free account
hub / github.com/WarFrontIO/client / init

Method init

src/game/player/PlayerManager.ts:17–30  ·  view source on GitHub ↗

* Initializes the player manager with the given players. * @param humans human players, one for local games, multiple for online games. * @param clientId Player ID of the client player (the player that is controlled this client). * @param maxPlayers The maximum number of players.

(humans: Player[], clientId: number, maxPlayers: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

registerPlayerMethod · 0.95

Tested by

no test coverage detected