Skip to content

Commit

Permalink
ECS chapter structure (#288)
Browse files Browse the repository at this point in the history
I intend to close and split #182 to improve both development and review workflows.

This is a tiny PR to make reviewing that work less painful by reducing weird branch issues.
  • Loading branch information
alice-i-cecile committed Mar 14, 2022
1 parent e4471e8 commit ae5bdee
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 61 deletions.
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.

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"
+++

0 comments on commit ae5bdee

Please sign in to comment.