#include <AnimateWindowManager.h>
Inherits MemoryPoolObject.
Public Member Functions | |
| AnimateWindow (void) | |
| void | setAnimData (ICoord2D startPos, ICoord2D endPos, ICoord2D curPos, ICoord2D restPos, Coord2D vel, UnsignedInt startTime, UnsignedInt endTime) |
| ICoord2D | getStartPos (void) |
| Get the Start Position 2D coord. | |
| ICoord2D | getCurPos (void) |
| Get the Current Position 2D coord. | |
| ICoord2D | getEndPos (void) |
| Get the End Position 2D coord. | |
| ICoord2D | getRestPos (void) |
| Get the Rest Position 2D coord. | |
| GameWindow * | getGameWindow (void) |
| Get the GameWindow that will be animating. | |
| AnimTypes | getAnimType (void) |
| Get the Animation type. | |
| UnsignedInt | getDelay (void) |
| Get the Time Delay. | |
| Coord2D | getVel (void) |
| Get the Velocity Position 2D coord. | |
| UnsignedInt | getStartTime (void) |
| Get the start time of the time-based anim. | |
| UnsignedInt | getEndTime (void) |
| Get the end time of the time-based anim. | |
| void | setStartPos (ICoord2D starPos) |
| Set the Start Position 2D coord. | |
| void | setCurPos (ICoord2D curPos) |
| Set the Current Position 2D coord. | |
| void | setEndPos (ICoord2D endPos) |
| Set the End Position 2D coord. | |
| void | setRestPos (ICoord2D restPos) |
| Set the Rest Position 2D coord. | |
| void | setGameWindow (GameWindow *win) |
| Set the GameWindow that will be animating. | |
| void | setAnimType (AnimTypes animType) |
| Set the Animation type. | |
| void | setDelay (UnsignedInt delay) |
| Set the Time Delay. | |
| void | setVel (Coord2D vel) |
| Set the Velocity Position 2D coord. | |
| void | setStartTime (UnsignedInt t) |
| Set the start time of the time-based anim. | |
| void | setEndTime (UnsignedInt t) |
| Set the end time of the time-based anim. | |
| void | setFinished (Bool finished) |
| Set if the animation has finished. | |
| Bool | isFinished (void) |
| Return if the animation has finished or not. | |
| void | setNeedsToFinish (Bool needsToFinish) |
| set if we need this animation to finish for the manager to return true | |
| Bool | needsToFinish (void) |
| set if the animation has finished | |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Definition at line 98 of file AnimateWindowManager.h.
| AnimateWindow::AnimateWindow | ( | void | ) |
Definition at line 67 of file AnimateWindowManager.cpp.
|
inline |
Get the Animation type.
Definition at line 199 of file AnimateWindowManager.h.
|
inline |
Get the Current Position 2D coord.
Definition at line 195 of file AnimateWindowManager.h.
|
inline |
Get the Time Delay.
Definition at line 200 of file AnimateWindowManager.h.
|
inline |
Get the End Position 2D coord.
Definition at line 196 of file AnimateWindowManager.h.
|
inline |
Get the end time of the time-based anim.
Definition at line 203 of file AnimateWindowManager.h.
|
inline |
Get the GameWindow that will be animating.
Definition at line 198 of file AnimateWindowManager.h.
|
inline |
Get the Rest Position 2D coord.
Definition at line 197 of file AnimateWindowManager.h.
|
inline |
Get the Start Position 2D coord.
Definition at line 194 of file AnimateWindowManager.h.
|
inline |
Get the start time of the time-based anim.
Definition at line 202 of file AnimateWindowManager.h.
|
inline |
Get the Velocity Position 2D coord.
Definition at line 201 of file AnimateWindowManager.h.
|
inline |
Return if the animation has finished or not.
Definition at line 217 of file AnimateWindowManager.h.
|
inline |
set if the animation has finished
Definition at line 219 of file AnimateWindowManager.h.
| void AnimateWindow::setAnimData | ( | ICoord2D | startPos, |
| ICoord2D | endPos, | ||
| ICoord2D | curPos, | ||
| ICoord2D | restPos, | ||
| Coord2D | vel, | ||
| UnsignedInt | startTime, | ||
| UnsignedInt | endTime ) |
Definition at line 88 of file AnimateWindowManager.cpp.
|
inline |
Set the Animation type.
Definition at line 210 of file AnimateWindowManager.h.
|
inline |
Set the Current Position 2D coord.
Definition at line 206 of file AnimateWindowManager.h.
|
inline |
Set the Time Delay.
Definition at line 211 of file AnimateWindowManager.h.
|
inline |
Set the End Position 2D coord.
Definition at line 207 of file AnimateWindowManager.h.
|
inline |
Set the end time of the time-based anim.
Definition at line 214 of file AnimateWindowManager.h.
|
inline |
Set if the animation has finished.
Definition at line 216 of file AnimateWindowManager.h.
|
inline |
Set the GameWindow that will be animating.
Definition at line 209 of file AnimateWindowManager.h.
|
inline |
set if we need this animation to finish for the manager to return true
Definition at line 218 of file AnimateWindowManager.h.
|
inline |
Set the Rest Position 2D coord.
Definition at line 208 of file AnimateWindowManager.h.
|
inline |
Set the Start Position 2D coord.
Definition at line 205 of file AnimateWindowManager.h.
|
inline |
Set the start time of the time-based anim.
Definition at line 213 of file AnimateWindowManager.h.
|
inline |
Set the Velocity Position 2D coord.
Definition at line 212 of file AnimateWindowManager.h.