Ejemplo n.º 1
0
 public SheepController(
     IFacadeBase facade,
     SheepSystemSettings settings,
     SheepModel model
     ) : base(
         facade,
         (settings == null ? null : settings.PotentialStates)
         )
 {
     m_Model = model;
 }
Ejemplo n.º 2
0
        public void Construct(SheepSystemSettings settings = null)
        {
            if (m_Constructed)
            {
                return;
            }

            m_Settings = settings;

            m_Model      = new SheepModel(GetComponent <Transform>());
            m_Controller = new SheepController(this, m_Settings, m_Model);
            m_Controller.Initialize();

            m_Constructed = true;
        }
Ejemplo n.º 3
0
 public void Construct(SheepSystemSettings settings)
 {
     m_Settings = settings;
 }