azalea::pathfinder::goals

Trait Goal

Source
pub trait Goal {
    // Required methods
    fn heuristic(&self, n: BlockPos) -> f32;
    fn success(&self, n: BlockPos) -> bool;
}

Required Methods§

Source

fn heuristic(&self, n: BlockPos) -> f32

Source

fn success(&self, n: BlockPos) -> bool

Implementors§