This commit is contained in:
parent
0f0dc2f7b9
commit
57e4e40672
@ -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:
|
Function:
|
||||||
Purpose:
|
Purpose:
|
||||||
@ -98,7 +110,6 @@ void CPlayerStateButtBounceLand::enter(CPlayer *_player)
|
|||||||
|
|
||||||
pos=getPlayerPos(_player);
|
pos=getPlayerPos(_player);
|
||||||
CGameBubicleFactory::spawnBubicles(pos.vx,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
|
CGameBubicleFactory::spawnBubicles(pos.vx,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
|
||||||
setAnimNo(_player,ANIM_PLAYER_ANIM_BUTTBOUNCEEND);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,20 +35,23 @@
|
|||||||
class CPlayerStateButtBounce : public CPlayerState
|
class CPlayerStateButtBounce : public CPlayerState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void enter(class CPlayer *_player);
|
virtual void enter(class CPlayer *_player);
|
||||||
void think(class CPlayer *_player);
|
virtual void think(class CPlayer *_player);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class CPlayerStateButtBounceFall : public CPlayerState
|
class CPlayerStateButtBounceFall : public CPlayerState
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
virtual void enter(class CPlayer *_player);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class CPlayerStateButtBounceLand : public CPlayerState
|
class CPlayerStateButtBounceLand : public CPlayerState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void enter(class CPlayer *_player);
|
virtual void enter(class CPlayer *_player);
|
||||||
void think(class CPlayer *_player);
|
virtual void think(class CPlayer *_player);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user