Enum rpg::event::Event
[−]
[src]
pub enum Event { Tell(String), Give(Item), Options(Vec<Event>), Push, Pull, Open, Close, Nothing, }
A primitive event type
Variants
Tell(String)
Talk to an entity
Give(Item)
Give an item to an entity
Options(Vec<Event>)
Show a list events an entity can handle
Push
Push an entity
Pull
Pull an entity
Open
Open an entity
Close
Close an entity
Nothing
Do nothing
Trait Implementations
impl Clone for Event
[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more