use std::{collections::HashMap, sync::Arc};
use cornerstone::{
node::{composite::Sequence, decorator::Repeat, Blackboard, DataProxy},
NodeStatus, TreeNode,
};
#[derive(Clone, Debug)]
struct Arm {
name: String,
}
#[derive(Debug)]
struct PrintArmNode {
data_proxy: DataProxy,
}
impl TreeNode for PrintArmNode {
fn tick(&mut self) -> NodeStatus {
NodeStatus::Success
}
}
#[derive(Debug)]
struct Body {
left_arm: Arm,
right_arm: Arm,
}
#[derive(Debug)]
struct PrintBodyNode {
data_proxy: DataProxy,
}
impl TreeNode for PrintBodyNode {
fn tick(&mut self) -> NodeStatus {
NodeStatus::Failure
}
}
fn main() {
}