00001 00007 #ifndef _ANIMATIONMANAGER_H_ 00008 #define _ANIMATIONMANAGER_H_ 00009 00010 #include "IsoBomb.h" 00011 00020 class AnimationManager { 00021 00022 public: 00023 00030 AnimationManager(); 00031 00036 ~AnimationManager(); 00037 00047 bool loadAllGraphics(); 00058 AnimationFrames* getCharacterAnimationFrames( int direction ); 00059 00067 AnimationFrames* getBombAnimationFrames( int direction ); 00068 00076 AnimationFrames* getBombFeetAnimationFrames( int direction ); 00077 00082 AnimationFrames* getExplosionAnimationFrames(); 00083 00088 AnimationFrames* getHitPointTexture(); 00089 00094 AnimationFrames* getHomingBombTexture(); 00095 00100 AnimationFrames* getBombPowerUpTexture(); 00101 00106 AnimationFrames* getPowerPowerUpTexture(); 00107 00112 AnimationFrames* getRadiusPowerUpTexture(); 00113 00118 AnimationFrames* getSpeedPowerUpTexture(); 00119 00120 private: 00121 00122 // Stores the current texture that is being loaded, before it 00123 // is pushed onto the appropriate vector 00124 Texture texture; 00125 00126 // Vectors to store the different animations 00127 AnimationFrames upLeft; 00128 AnimationFrames upRight; 00129 AnimationFrames downLeft; 00130 AnimationFrames downRight; 00131 AnimationFrames bombsDownLeft; 00132 AnimationFrames bombsDownRight; 00133 AnimationFrames bombsUpLeft; 00134 AnimationFrames bombsUpRight; 00135 AnimationFrames feetDownLeft; 00136 AnimationFrames feetDownRight; 00137 AnimationFrames feetUpRight; 00138 AnimationFrames feetUpLeft; 00139 AnimationFrames explosion; 00140 AnimationFrames hitPointPowerUp; 00141 AnimationFrames homingBombPowerUp; 00142 AnimationFrames bombPowerUp; 00143 AnimationFrames powerPowerUp; 00144 AnimationFrames radiusPowerUp; 00145 AnimationFrames speedPowerUp; 00146 }; 00147 00148 #endif