yog-event 0.9.2

Yog event system — pub/sub for game/server events.
Documentation
1
2
3
4
5
6
7
8
9
//! Particles: the host's actions.

use crate::Point;
use yog_ids as ids;

actions! {
    /// Spawns `count` particles around `pos`.
    SpawnParticles { dim: String, pos: Point, particle: String, count: i32, spread: Point, speed: f64 } -> bool = ids::service_particle::SPAWN, "YogParticleActions.spawnParticles";
}