Exemplo n.º 1
0
        protected void SendBulletStaticHitEvent(Entity bulletEntity, BulletComponent bullet)
        {
            BulletStaticHitEvent eventInstance = new BulletStaticHitEvent {
                Position = bullet.Position
            };

            base.ScheduleEvent(eventInstance, bulletEntity);
        }
Exemplo n.º 2
0
 public void DrawWavesOnHit(BulletStaticHitEvent e, Node node, [JoinAll] ICollection <ForceFieldEffectInstanceNode> effects)
 {
     this.DrawWavesOnHit(effects, e.Position, true);
 }
Exemplo n.º 3
0
 public void Explosion(BulletStaticHitEvent e, Node node, [JoinByTank] WeaponNode weaponNode)
 {
     this.InstantiateExplosion(e, weaponNode);
 }