Наследование: uFrame.ECS.EcsComponent
Пример #1
0
 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);
 }