Skip to content

Commit

Permalink
rename "App, Appbuilder, and World" => "Apps and Worlds" (#1416)
Browse files Browse the repository at this point in the history
  • Loading branch information
SIGSTACKFAULT authored Jun 17, 2024
1 parent aed3a04 commit 37b19cb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 8 deletions.
4 changes: 2 additions & 2 deletions code-validation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ mod learn {

#[doc = include_str!("../../content/learn/book/getting-started/_index.md")]
mod getting_started {
#[doc = include_str!("../../content/learn/book/getting-started/app-appbuilder-world.md")]
mod app_appbuilder_world {}
#[doc = include_str!("../../content/learn/book/getting-started/apps-worlds.md")]
mod apps_worlds {}
#[doc = include_str!("../../content/learn/book/getting-started/bevy-community.md")]
mod bevy_community {}
#[doc = include_str!("../../content/learn/book/getting-started/installation.md")]
Expand Down
6 changes: 0 additions & 6 deletions content/learn/book/getting-started/app-appbuilder-world.md

This file was deleted.

34 changes: 34 additions & 0 deletions content/learn/book/getting-started/apps-worlds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
+++
title = "Apps and Worlds"
[extra]
weight = 3
status = 'hidden'
+++

Your entire game is stored inside a Bevy [`App`], which is responsible for running the main game loop and storing the main [`World`].
The [`World`] stores all of the App's state — [Entities], [Components], [Resources], and [Systems].

[`App`]: https://docs.rs/bevy/latest/bevy/app/struct.App.html
[`World`]: https://docs.rs/bevy/latest/bevy/ecs/world/struct.World.html
[Entities]: /learn/book/ecs/entities-components/
[Components]: /learn/book/ecs/entities-components/#working-with-components
[Resources]: /learn/book/ecs/resources/
[Systems]: /learn/book/ecs/systems-queries/

## Apps

{% todo() %}

* explain what the app does
* example `main()` function

{% end %}

## Worlds

{% todo() %}

* explain what the world does
* vaguely explain how the world actually stores entities and components? maybe too early for that

{% end %}

0 comments on commit 37b19cb

Please sign in to comment.