diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 22:01:53 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 22:01:53 +0100 |
commit | f06be6004ec8b47e3b4b1ba4fda068b365923683 (patch) | |
tree | 26376513f8a52386e6127af324aa65177b620620 /src/doc/feature/script_ecs.dox | |
parent | a6803980f1e74ecf1abb007b7c77f00d2cd92c43 (diff) |
update doxygen documentation w/ updated APIloek/doxygen
Diffstat (limited to 'src/doc/feature/script_ecs.dox')
-rw-r--r-- | src/doc/feature/script_ecs.dox | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/feature/script_ecs.dox b/src/doc/feature/script_ecs.dox index bbe1abc..8bd3376 100644 --- a/src/doc/feature/script_ecs.dox +++ b/src/doc/feature/script_ecs.dox @@ -40,14 +40,14 @@ using namespace crepe; class MyScript : public Script { void show_self() { Metadata & own_metadata = get_component<Metadata>(); - Log::logf("My name is {}", own_metadata.name); + logf("My name is {}", own_metadata.name); } void list_enemies() { RefVector<Metadata> enemies = get_components_by_tag<Metadata>("enemy"); - Log::logf("There are {} enemies:", enemies.size()); + logf("There are {} enemies:", enemies.size()); for (const Metadata & enemy : enemies) { - Log::logf("- {}", enemy.name); + logf("- {}", enemy.name); } } }; |