SBSPSS/source/player/psfall.h
2001-07-17 19:41:16 +00:00

82 lines
1.6 KiB
C++

/*=========================================================================
psfall.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PSFALL_H__
#define __PLAYER_PSFALL_H__
/*----------------------------------------------------------------------
Includes
-------- */
#include "player\pstates.h"
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerStateFall : public CPlayerState
{
public:
void enter(class CPlayerModeBase *_playerMode);
void think(class CPlayerModeBase *_playerMode);
private:
enum
{
BUTT_BOUNCE_TIMEOUT=45,
};
unsigned int m_buttBounceTimer;
};
class CPlayerStateFallFar : public CPlayerState
{
private:
void enter(class CPlayerModeBase *_playerMode);
void think(class CPlayerModeBase *_playerMode);
};
/*----------------------------------------------------------------------
Globals
------- */
extern CPlayerStateFall s_stateFall;
extern CPlayerStateFallFar s_stateFallFar;
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PSFALL_H__ */
/*===========================================================================
end */