pathfinding wip

This commit is contained in:
2024-10-04 22:49:49 -04:00
parent 5adfbd5de5
commit 5e7ab32138
15 changed files with 287 additions and 125 deletions

View File

@@ -60,7 +60,7 @@ fn set_unit_target(
for e in units.iter() {
info!("Setting Target");
let mut e = commands.entity(e);
e.insert(Target(contact.surface));
e.insert(Target(contact.tile));
}
}
}