Implement relationships in the ECS #3

Merged
SeanOMik merged 5 commits from feature/ecs-relations into main 2024-03-03 21:22:40 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit c0df9f2d65 - Show all commits

View File

@ -37,7 +37,7 @@ pub trait FnArgFetcher {
/// fetched on the fly.
///
/// ```fail_compile
/// fn enemy_movement_system(enemies: ViewState<(&Health, &EnemyStats, &Movement)>) -> anyhow::Result<()> {
/// fn enemy_movement_system(enemies: View<(&Health, &EnemyStats, &Movement)>) -> anyhow::Result<()> {
/// for (health, stats, movement) in enemies.iter() {
/// // ...
/// }