From bf772e5fe57f15d4511fe95d3ced035f262aa1ae Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 12 Jun 2018 12:47:29 +0200 Subject: [PATCH] docs --- README.md | 4 +++- src/entt/entity/registry.hpp | 4 ++-- src/entt/resource/handle.hpp | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d92d677e..2d8b2bc58 100644 --- a/README.md +++ b/README.md @@ -2600,7 +2600,9 @@ Below an incomplete list of projects and articles: * [EnttPong](https://github.com/reworks/EnttPong): example game for `EnTT` framework. -* [ECS_SpaceBattle](https://github.com/vblanco20-1/ECS_SpaceBattle): huge space +* [Space Battle: Huge edition](http://victor.madtriangles.com/code%20experiment/2018/06/11/post-ecs-battle-huge.html): + huge space battle built entirely from scratch. +* [Space Battle](https://github.com/vblanco20-1/ECS_SpaceBattle): huge space battle built on `UE4`. * [Experimenting with ECS in UE4](http://victor.madtriangles.com/code%20experiment/2018/03/25/post-ue4-ecs-battle.html): interesting article about `UE4` and `EnTT`. diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index a8eda5f81..658bad994 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -447,7 +447,7 @@ public: * An assertion will abort the execution at runtime in debug mode in case of * invalid entity. * - * @param entity A valid entity identifier + * @param entity A valid entity identifier. */ void destroy(const entity_type entity) { assert(valid(entity)); @@ -523,7 +523,7 @@ public: * * @tparam Tag Type of tag to create. * @tparam Args Types of arguments to use to construct the tag. - * @param entity A valid entity identifier + * @param entity A valid entity identifier. * @param args Parameters to use to initialize the tag. * @return A reference to the newly created tag. */ diff --git a/src/entt/resource/handle.hpp b/src/entt/resource/handle.hpp index 0b991af7a..ef54f30ae 100644 --- a/src/entt/resource/handle.hpp +++ b/src/entt/resource/handle.hpp @@ -85,7 +85,7 @@ public: inline const Resource & operator *() const ENTT_NOEXCEPT { return get(); } /** - * @brief Gets a pointer to the managed resource from a handle . + * @brief Gets a pointer to the managed resource from a handle. * * @warning * The behavior is undefined if the handle doesn't contain a resource.