public void Update()
        {
            if (AI != null)
            {
                AI.DoIt();
            }

            foreach (Component component in Components)
            {
                component.Update();
            }
        }