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

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

            this.explosionBehavior = explosion.FindComponent <ExplosionBehavior>();
        }
Ejemplo 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>();
        }
Ejemplo n.º 3
0
 public MeteorBehavior(ExplosionBehavior explosionBehavior)
     : base("meteorBehavior")
 {
     this.explosionBehavior = explosionBehavior;
 }
Ejemplo n.º 4
0
 public MeteorBehavior(ExplosionBehavior explosionBehavior)
     : base("meteorBehavior")
 {
     this.explosionBehavior = explosionBehavior;
 }