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

            var explosion = this.Owner.Scene.EntityManager.Find("explosion");

            this.explosionBehavior = explosion.FindComponent <ExplosionBehavior>();
        }
Esempio n. 2
0
        protected override void Initialize()
        {
            base.Initialize();

            this.vsm = this.Owner.Scene.VirtualScreenManager;

            var explosion = this.Owner.Scene.EntityManager.Find("explosion");
            this.explosionBehavior = explosion.FindComponent<ExplosionBehavior>();
        }
Esempio n. 3
0
 public MeteorBehavior(ExplosionBehavior explosionBehavior)
     : base("meteorBehavior")
 {
     this.explosionBehavior = explosionBehavior;
 }
Esempio n. 4
0
 public MeteorBehavior(ExplosionBehavior explosionBehavior)
     : base("meteorBehavior")
 {
     this.explosionBehavior = explosionBehavior;
 }