This commit is contained in:
Paul 2001-01-31 16:53:23 +00:00
parent 0f0dc2f7b9
commit 57e4e40672
2 changed files with 19 additions and 5 deletions

View File

@ -86,6 +86,18 @@ void CPlayerStateButtBounce::think(CPlayer *_player)
}
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CPlayerStateButtBounceFall::enter(CPlayer *_player)
{
setAnimNo(_player,ANIM_PLAYER_ANIM_BUTTBOUNCEEND);
}
/*----------------------------------------------------------------------
Function:
Purpose:
@ -98,7 +110,6 @@ void CPlayerStateButtBounceLand::enter(CPlayer *_player)
pos=getPlayerPos(_player);
CGameBubicleFactory::spawnBubicles(pos.vx,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
setAnimNo(_player,ANIM_PLAYER_ANIM_BUTTBOUNCEEND);
}

View File

@ -35,20 +35,23 @@
class CPlayerStateButtBounce : public CPlayerState
{
public:
void enter(class CPlayer *_player);
void think(class CPlayer *_player);
virtual void enter(class CPlayer *_player);
virtual void think(class CPlayer *_player);
};
class CPlayerStateButtBounceFall : public CPlayerState
{
public:
virtual void enter(class CPlayer *_player);
};
class CPlayerStateButtBounceLand : public CPlayerState
{
public:
void enter(class CPlayer *_player);
void think(class CPlayer *_player);
virtual void enter(class CPlayer *_player);
virtual void think(class CPlayer *_player);
private: