Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions code-validation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ mod learn {
mod ecs {
#[doc = include_str!("../../content/learn/book/ecs/commands/_index.md")]
mod commands {}
#[doc = include_str!("../../content/learn/book/ecs/detecting-changes/_index.md")]
mod detecting_changes {}
#[doc = include_str!("../../content/learn/book/ecs/ecs-magic/_index.md")]
mod ecs_magic {}
#[doc = include_str!("../../content/learn/book/ecs/entities-components/_index.md")]
mod entities_components {}
#[doc = include_str!("../../content/learn/book/ecs/exclusive-world-access/_index.md")]
mod exclusive_world_access {}
#[doc = include_str!("../../content/learn/book/ecs/filtering-queries/_index.md")]
mod filtering_queries {}
#[doc = include_str!("../../content/learn/book/ecs/generic-systems/_index.md")]
mod generic_systems {}
#[doc = include_str!("../../content/learn/book/ecs/reliable-change-detection/_index.md")]
mod reliable_change_detection {}
#[doc = include_str!("../../content/learn/book/ecs/queries/_index.md")]
mod queries {}
#[doc = include_str!("../../content/learn/book/ecs/resources/_index.md")]
mod resources {}
#[doc = include_str!("../../content/learn/book/ecs/systems-queries/_index.md")]
mod system_queries {}
#[doc = include_str!("../../content/learn/book/ecs/systems/_index.md")]
mod systems {}
}

#[doc = include_str!("../../content/learn/book/game-logic/_index.md")]
Expand Down
10 changes: 2 additions & 8 deletions content/learn/book/ecs/commands/_index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
+++
title = "Manipulating entities with commands"
weight = 4
title = "Commands queue up work"
weight = 5
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
+++

TODO: explain what commands are used for

TODO: explain that they only run at the end of the stage, mention that they have exclusive world access

TODO: show how to spawn, despawn and modify entities with commands
7 changes: 7 additions & 0 deletions content/learn/book/ecs/detecting-changes/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "Detecting changes"
weight = 6
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
+++
7 changes: 7 additions & 0 deletions content/learn/book/ecs/ecs-magic/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "Understanding the magic"
weight = 8
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
+++
4 changes: 2 additions & 2 deletions content/learn/book/ecs/exclusive-world-access/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Exclusive `World` access"
weight = 8
title = "Exclusive world access"
weight = 7
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
Expand Down
17 changes: 0 additions & 17 deletions content/learn/book/ecs/filtering-queries/_index.md

This file was deleted.

13 changes: 0 additions & 13 deletions content/learn/book/ecs/generic-systems/_index.md

This file was deleted.

7 changes: 7 additions & 0 deletions content/learn/book/ecs/queries/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+++
title = "Fetching data with queries"
weight = 2
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
+++
17 changes: 0 additions & 17 deletions content/learn/book/ecs/reliable-change-detection/_index.md

This file was deleted.

17 changes: 0 additions & 17 deletions content/learn/book/ecs/systems-queries/_index.md

This file was deleted.

8 changes: 8 additions & 0 deletions content/learn/book/ecs/systems/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "Systems do work"
weight = 4
template = "book-section.html"
page_template = "book-section.html"
insert_anchor_links = "right"
+++