Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tmxlite/include/tmxlite/Tileset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down