protected void SendBulletStaticHitEvent(Entity bulletEntity, BulletComponent bullet) { BulletStaticHitEvent eventInstance = new BulletStaticHitEvent { Position = bullet.Position }; base.ScheduleEvent(eventInstance, bulletEntity); }
public void DrawWavesOnHit(BulletStaticHitEvent e, Node node, [JoinAll] ICollection <ForceFieldEffectInstanceNode> effects) { this.DrawWavesOnHit(effects, e.Position, true); }
public void Explosion(BulletStaticHitEvent e, Node node, [JoinByTank] WeaponNode weaponNode) { this.InstantiateExplosion(e, weaponNode); }