added path finding

This commit is contained in:
2024-10-05 13:29:42 -04:00
parent 5e7ab32138
commit 06ffb2bd3e
12 changed files with 136 additions and 70 deletions

View File

@@ -26,4 +26,4 @@ pub struct Target(pub HexCoord);
pub struct Path(pub Vec<Vec3>, pub usize);
#[derive(Component, Debug)]
pub struct PathTask(pub Task<CommandQueue>);
pub struct PathTask(pub Task<Option<CommandQueue>>);