use std::collections::HashMap;
use super::{DialogueBehavior, GreetingBehavior, PathfindingBehavior};
pub fn create_greeting() -> GreetingBehavior {
GreetingBehavior::new_default()
}
pub fn create_dialogue(topics: HashMap<String, Vec<String>>) -> DialogueBehavior {
let default_responses = vec![
"I'm not sure what you mean.".to_string(),
"Could you rephrase that?".to_string(),
"I don't understand.".to_string(),
];
DialogueBehavior::new(topics, default_responses)
}
pub fn create_follow() -> PathfindingBehavior {
PathfindingBehavior::new_follow_player()
}
pub fn create_stationary() -> PathfindingBehavior {
PathfindingBehavior::new_stationary()
}