export function emit_particles(lifespan: number, frequency: number, speed: number) {
return (game: Game, entity: Entity) => {
game.World.Signature[entity] |= Has.EmitParticles;
game.World.EmitParticles[entity] = {
Lifespan: lifespan,
Frequency: frequency,
Speed: speed,
Instances: [],
SinceLast: 0,
};
};
}