Trait legion::world::EventSender[][src]

pub trait EventSender: Send + Sync {
    fn send(&self, event: Event) -> bool;
}
Expand description

Describes a type which can send entity events.

Required methods

Sends the given event to all listeners. Returns true if the sender is still alive.

Implementors