From b308fdf5d2ac9c161bf1562ecce30cb3e2efd21d Mon Sep 17 00:00:00 2001 From: Nikita Kogut Date: Thu, 15 Jan 2026 15:53:16 +0200 Subject: [PATCH] Add documentation note for animation frame --- tmxlite/include/tmxlite/Tileset.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tmxlite/include/tmxlite/Tileset.hpp b/tmxlite/include/tmxlite/Tileset.hpp index 67dcde2..541c13d 100644 --- a/tmxlite/include/tmxlite/Tileset.hpp +++ b/tmxlite/include/tmxlite/Tileset.hpp @@ -75,7 +75,15 @@ namespace tmx */ struct Frame final { + /*! + \brief ID of the tile to be displayed during this frame + \note For convenience, this is global tile ID - you do not need to add the firstGID of the tileset to it + */ std::uint32_t tileID = 0; + + /*! + \brief Duration of the animation frame, in milliseconds + */ std::uint32_t duration = 0; bool operator == (const Frame& other) const