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

Talk to an entity

Give an item to an entity

Show a list events an entity can handle

Push an entity

Pull an entity

Open an entity

Close an entity

Do nothing

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter.

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.