Struct rpg::behaviour::DefaultResponse
[−]
[src]
pub struct DefaultResponse { /* fields omitted */ }
A default reponse when a character is talking to an entity
Methods
impl DefaultResponse
[src]
fn new(response: &str) -> DefaultResponse
Creates a new instance of DefaultResponse
Trait Implementations
impl Behaviour for DefaultResponse
[src]
fn handle_event(&self, event: Event) -> Event
Handle an event