Class: API3.SharedScript

[Frames]

new SharedScript(settings)

A shared data container holding information common to all players.

For sake of runtime efficiency, entity templates and terrain analysis are performed only once for all (AI) players. This is done by having one instance of the SharedScript "player" which is updated before any of the real players.
Parameters:
settings : Object The player setup data as passed from the GameSetup components.
Source: