tmxlite: tmx::Tileset::Tile::Animation::Frame Struct Reference

tmxlite 1.0.0 lightweight parse for Tiled maps

Public Member Functions | Public Attributes | List of all members
tmx::Tileset::Tile::Animation::Frame Struct Referencefinal

A frame within an animation. More...

`#include <Tileset.hpp>`

## Public Member Functions
bool | operator== (const Frame &other) const
bool | operator!= (const Frame &other) const

## Public Attributes
std::uint32_t | tileID = 0
| ID of the tile to be displayed during this frame.
std::uint32_t | duration = 0
| Duration of the animation frame, in milliseconds.

## Detailed Description

A frame within an animation.

## Member Data Documentation

## ◆ tileID

std::uint32_t tmx::Tileset::Tile::Animation::Frame::tileID = 0

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

The documentation for this struct was generated from the following file:

- D:/W/B/src/tmxlite-1.4.5/tmxlite/include/tmxlite/Tileset.hpp