From 705fe069cf3b11e4cf0e6012aa04ebd23ab226bd Mon Sep 17 00:00:00 2001 From: Benedikt Galbavy Date: Fri, 2 Feb 2024 22:29:28 +0100 Subject: [PATCH] fixes to enums --- include/CollisionHandler.h | 3 --- include/Entity.h | 2 +- src/CollisionHandler.cpp | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/CollisionHandler.h b/include/CollisionHandler.h index 82ad135..68b8183 100644 --- a/include/CollisionHandler.h +++ b/include/CollisionHandler.h @@ -64,13 +64,10 @@ public: * \param groupLabels Entities need to have at least one listed GroupLabels to get checked against * \param teamLabels Entities need to have one of the specified TeamLabels to get checked against * \param negateTeam If set to true, entities will only be checked against if they **don't** have one of the specified TeamLabels - * \see GroupLabel * \see TeamLabel * \see Entity * \see ColliderComponent * \see Entity::getTeam() - * \details Example usage for IntersectionBitSet (TransformComponent::update()): - * \snippet{trimleft} TransformComponent.cpp getAnyIntersection example code * */ template diff --git a/include/Entity.h b/include/Entity.h index 187b157..d02f6e4 100644 --- a/include/Entity.h +++ b/include/Entity.h @@ -20,7 +20,7 @@ class Entity { public: -/*! TODO */ + /*! TODO */ enum class GroupLabel { MAPTILES, diff --git a/src/CollisionHandler.cpp b/src/CollisionHandler.cpp index 20cbd17..07c5f2c 100644 --- a/src/CollisionHandler.cpp +++ b/src/CollisionHandler.cpp @@ -122,6 +122,8 @@ std::vector CollisionHandler::getColliders( * \see Direction * \see IntersectionBitSet * \snippet CollisionHandler.h IntersectionBitSet + * \details Example usage for IntersectionBitSet (TransformComponent::update()): + * \snippet{trimleft} TransformComponent.cpp getAnyIntersection example code * */ template<>