tmxparser  2.1.0
 All Classes Functions Variables Pages
Public Member Functions | List of all members
Tmx::AnimationFrame Class Reference

Class containing information about an animated tile. More...

#include <TmxTile.h>

Public Member Functions

 AnimationFrame ()
 This constructor shouldn't be used, ideally.
 
 AnimationFrame (int tileID, unsigned int duration)
 Create a new animation frame with a specified tile id and duration.
 
int GetTileID () const
 Get the tile id of this frame, relative to the containing tileset.
 
unsigned int GetDuration () const
 Get the duration of this frame in milliseconds.
 

Detailed Description

Class containing information about an animated tile.

This includes the duration of each frame and the various ids of each frame in the animation.


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