SBSPSS/source/player/psbutt.h

97 lines
2.1 KiB
C
Raw Permalink Normal View History

2001-01-22 18:48:36 +01:00
/*=========================================================================
psbutt.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PSBUTT_H__
#define __PLAYER_PSBUTT_H__
/*----------------------------------------------------------------------
Includes
-------- */
#include "player\pstates.h"
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerStateButtBounce : public CPlayerState
{
public:
2001-03-25 22:36:28 +02:00
virtual void enter(class CPlayerModeBase *_playerMode);
virtual void think(class CPlayerModeBase *_playerMode);
2001-01-22 18:48:36 +01:00
};
class CPlayerStateButtBounceFall : public CPlayerState
{
2001-01-31 17:53:23 +01:00
public:
2001-03-25 22:36:28 +02:00
virtual void enter(class CPlayerModeBase *_playerMode);
virtual void think(class CPlayerModeBase *_playerMode);
2001-01-31 17:53:23 +01:00
2001-01-22 18:48:36 +01:00
};
class CPlayerStateButtBounceLand : public CPlayerState
{
public:
2001-03-25 22:36:28 +02:00
virtual void enter(class CPlayerModeBase *_playerMode);
virtual void think(class CPlayerModeBase *_playerMode);
2001-05-11 22:56:43 +02:00
2001-05-30 23:00:50 +02:00
private:
int m_bounceOffFloor;
2001-05-11 22:56:43 +02:00
};
class CPlayerStateButtBounceUp : public CPlayerState
{
public:
virtual void enter(class CPlayerModeBase *_playerMode);
virtual void think(class CPlayerModeBase *_playerMode);
2001-01-22 18:48:36 +01:00
private:
2001-05-11 22:56:43 +02:00
int m_bounceFrames;
2001-01-22 18:48:36 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
2001-04-03 18:47:07 +02:00
extern CPlayerStateButtBounce s_stateButtBounce;
extern CPlayerStateButtBounceFall s_stateButtBounceFall;
extern CPlayerStateButtBounceLand s_stateButtBounceLand;
2001-05-11 22:56:43 +02:00
extern CPlayerStateButtBounceUp s_stateButtBounceUp;
2001-04-03 18:47:07 +02:00
2001-01-22 18:48:36 +01:00
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PSBUTT_H__ */
/*===========================================================================
end */