Skip to content

Commit

Permalink
docs(ecs): flip SystemBuilder::before and SystemBuilder::after docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Nov 22, 2024
1 parent b5a299b commit dcb021c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Crash when opening the Play Pause menu (**SrGesus**).
- Duplicated destructor call in AnyVector which caused double free crashes on multiple samples (**@RiscadoA**).
- Compiler Error when using -O3 flag (#1351, **@SrGesus**).
- Flipped documentation of SystemBuilder::before and SystemBuilder::after (#1371, **@RiscadoA**).

## [v0.4.0] - 2024-10-13

Expand Down
4 changes: 2 additions & 2 deletions core/include/cubos/core/ecs/cubos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,12 @@ namespace cubos::core::ecs
/// @return Builder.
SystemBuilder&& tagged(const Tag& tag) &&;

/// @brief Forces this system to only run after all systems with the given tag have finished.
/// @brief Forces all systems with the given tag to run only after this system has finished.
/// @param tag Tag.
/// @return Builder.
SystemBuilder&& before(const Tag& tag) &&;

/// @brief Forces all systems with the given tag to run only after this system has finished.
/// @brief Forces this system to only run after all systems with the given tag have finished.
/// @param tag Tag.
/// @return Builder.
SystemBuilder&& after(const Tag& tag) &&;
Expand Down

0 comments on commit dcb021c

Please sign in to comment.