67 lines
1.3 KiB
C++
67 lines
1.3 KiB
C++
/*=========================================================================
|
|
|
|
psjmpback.h
|
|
|
|
Author: PKG
|
|
Created:
|
|
Project: Spongebob
|
|
Purpose:
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
===========================================================================*/
|
|
|
|
#ifndef __PLAYER_PSJMPBACK_H__
|
|
#define __PLAYER_PSJMPBACK_H__
|
|
|
|
/*----------------------------------------------------------------------
|
|
Includes
|
|
-------- */
|
|
|
|
#include "player\pstates.h"
|
|
|
|
|
|
/* Std Lib
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Tyepdefs && Defines
|
|
------------------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Structure defintions
|
|
-------------------- */
|
|
|
|
class CPlayerStateJumpBack : public CPlayerState
|
|
{
|
|
public:
|
|
void enter(class CPlayerModeBase *_playerMode);
|
|
void think(class CPlayerModeBase *_playerMode);
|
|
|
|
private:
|
|
int m_reactFrames;
|
|
|
|
};
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
Globals
|
|
------- */
|
|
|
|
extern CPlayerStateJumpBack s_stateJump;
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
Functions
|
|
--------- */
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
#endif /* __PLAYER_PSJMPBACK_H__ */
|
|
|
|
/*===========================================================================
|
|
end */
|
|
|
|
|
|
|