Skip to content

Commit

Permalink
Add async random wandering
Browse files Browse the repository at this point in the history
  • Loading branch information
DomWilliams0 committed Mar 9, 2024
1 parent 47ccfa2 commit 8e010ab
Show file tree
Hide file tree
Showing 4 changed files with 304 additions and 127 deletions.
5 changes: 4 additions & 1 deletion world/src/chunk/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ use crate::navigation::BlockGraph;
use crate::navigationv2::{is_border, ChunkArea, NavRequirement, SlabArea, SlabNavGraph};
use crate::neighbour::NeighbourOffset;
use crate::world::LoadNotifier;
use crate::{BlockOcclusion, Slab, SliceRange, World, WorldArea, WorldAreaV2, WorldContext};
use crate::{
does_entity_fit_in_area, BlockOcclusion, Slab, SliceRange, World, WorldArea, WorldAreaV2,
WorldContext,
};

pub type ChunkId = u64;

Expand Down
2 changes: 1 addition & 1 deletion world/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use self::navigation::{EdgeCost, NavigationError, SearchGoal, WorldArea, Wor
pub use self::navigationv2::{
accessible::{does_entity_fit_in_area, AccessibilityCalculator},
world_graph::{
OngoingPathSearchFuture, Path, SearchDebug, SearchError, SearchStatus,
OngoingPathSearchFuture, Path, PathTarget, SearchDebug, SearchError, SearchStatus,
WorldArea as WorldAreaV2,
},
NavRequirement, PathExistsResult,
Expand Down
Loading

0 comments on commit 8e010ab

Please sign in to comment.