Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        stateManager = new StateManager();
        stateManager.StatusChanged += sm_OnStatusChanged;

        keyboardInput = new KeyboardInput();
        keyboardInput.CommandDetected += kd_OnCommandDetected;

        keywordDetector = this.GetComponent <KeywordDetector> ();
        keywordDetector.CommandDetected += kd_OnCommandDetected;

        collection = LoadRecipes();

        initializer = new BarInitializer();

        setupUI();
    }
Esempio n. 2
0
 protected override void Seed(BarContext context)
 {
     BarInitializer.SeedBarData(context);
 }