Mercurial > fife-parpg
comparison engine/core/view/visual.h @ 397:8fa2f3aa0cbd
Added the ActionVisual::getActionImageAngles() function.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 27 Jan 2010 20:43:03 +0000 |
parents | ab41334e8a57 |
children | 16c2b3ee59ce |
comparison
equal
deleted
inserted
replaced
396:81641655bc38 | 397:8fa2f3aa0cbd |
---|---|
212 /** Gets index to animation closest to given angle | 212 /** Gets index to animation closest to given angle |
213 * @return animation index, -1 if no animations available | 213 * @return animation index, -1 if no animations available |
214 */ | 214 */ |
215 int getAnimationIndexByAngle(int angle); | 215 int getAnimationIndexByAngle(int angle); |
216 | 216 |
217 /** Returns list of available angles for this Action | |
218 */ | |
219 void getActionImageAngles(std::vector<int>& angles); | |
220 | |
217 private: | 221 private: |
218 /** Constructor | 222 /** Constructor |
219 */ | 223 */ |
220 ActionVisual(); | 224 ActionVisual(); |
221 | 225 |