protected override void ProjectileCreated(Projectile data, Projectile group) { var handler = new ProjectileCreated(); handler.System = this; handler.Event = data; handler.Group = group; handler.Execute(); }
protected void ProjectileCreatedFilter(Projectile data) { var GroupProjectile = ProjectileManager[data.EntityId]; if (GroupProjectile == null) { return; } if (!GroupProjectile.Enabled) { return; } this.ProjectileCreated(data, GroupProjectile); }