This commit is contained in:
Paul 2001-04-03 22:53:27 +00:00
parent 37852c12a2
commit 25d71054fb
3 changed files with 4 additions and 6 deletions

View File

@ -66,8 +66,7 @@ CPlayerStateFallFar s_stateFallFar;
---------------------------------------------------------------------- */
void CPlayerStateFall::enter(CPlayerModeBase *_playerMode)
{
// _playerMode->setAnimNo(ANIM_SPONGEBOB_HOVER);
_playerMode->setAnimNo(ANIM_SPONGEBOB_FIRE);
_playerMode->setAnimNo(ANIM_SPONGEBOB_JUMP);
}

View File

@ -70,8 +70,7 @@ CPlayerStateJump s_stateJump;
---------------------------------------------------------------------- */
void CPlayerStateJump::enter(CPlayerModeBase *_playerMode)
{
//!! _playerMode->setAnimNo(ANIM_SPONGEBOB_HOVER);
_playerMode->setAnimNo(ANIM_SPONGEBOB_FIRE);
_playerMode->setAnimNo(ANIM_SPONGEBOB_JUMP);
m_jumpFrames=0;
_playerMode->jump();

View File

@ -43,9 +43,9 @@ public:
void think(class CPlayerModeBase *_playerMode);
protected:
virtual int getStartFrame() {return ANIM_SPONGEBOB_FIRE;}
virtual int getStartFrame() {return ANIM_SPONGEBOB_RUNSTART;}
virtual int getLoopFrame() {return ANIM_SPONGEBOB_RUN;}
virtual int getEndFrame() {return ANIM_SPONGEBOB_FIRE;}
virtual int getEndFrame() {return ANIM_SPONGEBOB_RUNSTOP;}
private:
int m_numberOfTimesAnimHasLooped;