예제 #1
0
        protected void SendBulletStaticHitEvent(Entity bulletEntity, BulletComponent bullet)
        {
            BulletStaticHitEvent eventInstance = new BulletStaticHitEvent {
                Position = bullet.Position
            };

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