yog_event/particle.rs
1//! Particles: the host's actions.
2
3use crate::Point;
4use yog_ids as ids;
5
6actions! {
7 /// Spawns `count` particles around `pos`.
8 SpawnParticles { dim: String, pos: Point, particle: String, count: i32, spread: Point, speed: f64 } -> bool = ids::service_particle::SPAWN, "YogParticleActions.spawnParticles";
9}