Class Initializer
- Namespace
- StarterKit
- Assembly
- StarterKit.dll
GAME layer initializer for StarterKit. Waits for ArchonEngine to initialize, then creates game-specific systems.
Access via Initializer.Instance for commands and other systems. Access ENGINE via ArchonEngine.Instance.
public class Initializer : MonoBehaviour
- Inheritance
-
objectInitializer
Properties
AISystem
AI system for non-player country decision making.
public AISystem AISystem { get; }
Property Value
BuildingSystem
Building system for constructing and managing province improvements.
public BuildingSystem BuildingSystem { get; }
Property Value
EconomySystem
Economy system for gold, income, and resource management.
public EconomySystem EconomySystem { get; }
Property Value
Instance
Static instance for easy access from commands. Set on Awake, cleared on OnDestroy.
public static Initializer Instance { get; }
Property Value
IsInitialized
True when all StarterKit systems are initialized and ready.
public bool IsInitialized { get; }
Property Value
- bool
NetworkInitializer
Network initializer for multiplayer state queries.
public NetworkInitializer NetworkInitializer { get; }
Property Value
PlayerState
Player state tracking which country the player controls.
public PlayerState PlayerState { get; }
Property Value
UnitSystem
Unit system for creating, moving, and managing military units.
public UnitSystem UnitSystem { get; }
Property Value
Methods
GetCurrentMapMode()
Get the current map mode.
public MapMode GetCurrentMapMode()
Returns
SetMapMode(MapMode)
Set the current map mode. Called by ToolbarUI.
public void SetMapMode(MapMode mode)
Parameters
modeMapMode
StartInitialization()
public void StartInitialization()