Пример #1
0
        protected override void Think(float deltaTime)
        {
            base.Think(deltaTime);

            Brain.Process();

            if (TargetSelectionRegulator.IsReady)
            {
                TargetingSystem.Update();
            }

            if (GoalArbitrationRegulator.IsReady)
            {
                Brain.Arbitrate();
            }

            if (VisionUpdateRegulator.IsReady)
            {
                SensoryMemory.UpdateVision();
            }

            if (WeaponSelectionRegulator.IsReady)
            {
                WeaponSystem.SelectWeapon();
            }
        }