Esempio n. 1
0
        protected override void ResolveDependencies()
        {
            base.ResolveDependencies();

            this.currentScoreTB = this.EntityManager.Find <TextBlock>("currentScoreTB");

            this.kiteBehavior = this.EntityManager.Find("kite")
                                .FindComponent <KiteBehavior>();

            this.crashEffectComponent = this.EntityManager.Find("crashEffect")
                                        .FindComponent <CrashEffectComponent>();
        }
        protected override void ResolveDependencies()
        {
            base.ResolveDependencies();

            this.currentScoreTB = this.EntityManager.Find<TextBlock>("currentScoreTB");

            this.kiteBehavior = this.EntityManager.Find("kite")
                                                  .FindComponent<KiteBehavior>();

            this.crashEffectComponent = this.EntityManager.Find("crashEffect")
                                                          .FindComponent<CrashEffectComponent>();
        }