Beispiel #1
0
        public ComputerAgent()
        {
            _fsm              = new FiniteStateMachine(this, new IdleState());
            _scripts          = new List <Action>();
            UnitsManager      = new UnitsManager();
            StructuresManager = new StructuresManager();

            SetupScript();
        }
Beispiel #2
0
 public StructuresController(StructuresManager structuresManager)
 {
     this._structuresManager = structuresManager;
 }
Beispiel #3
0
 void Start()
 {
     _instance = this;
     Initialize(data);
 }