comparison src/animation.h @ 22:5519ad48822e

doc: add Doxygen documentation, closes #2450
author David Demelier <markand@malikania.fr>
date Thu, 09 Jan 2020 20:48:01 +0100
parents fbb7101b7bd8
children b815621df3e3
comparison
equal deleted inserted replaced
21:63eaec5ceba9 22:5519ad48822e
31 31
32 /** 32 /**
33 * \brief Animation object 33 * \brief Animation object
34 */ 34 */
35 struct animation { 35 struct animation {
36 struct sprite *sprite; /* Sprite to use (RW) */ 36 struct sprite *sprite; /*!< Sprite to use (RW) */
37 uint16_t row; /* current row (RO) */ 37 uint16_t row; /*!< current row (RO) */
38 uint16_t column; /* current column (RO) */ 38 uint16_t column; /*!< current column (RO) */
39 uint16_t delay; /* delay between frames (RW) */ 39 uint16_t delay; /*!< delay between frames (RW) */
40 uint16_t elapsed; /* elapsed time since last frame (RO) */ 40 uint16_t elapsed; /*!< elapsed time since last frame (RO) */
41 }; 41 };
42 42
43 /** 43 /**
44 * Initialize the animation. 44 * Initialize the animation.
45 * 45 *