64 lines
1.3 KiB
C
64 lines
1.3 KiB
C
|
/*=========================================================================
|
||
|
|
||
|
psjump.h
|
||
|
|
||
|
Author: PKG
|
||
|
Created:
|
||
|
Project: Spongebob
|
||
|
Purpose:
|
||
|
|
||
|
Copyright (c) 2001 Climax Development Ltd
|
||
|
|
||
|
===========================================================================*/
|
||
|
|
||
|
#ifndef __PLAYER_PSJUMP_H__
|
||
|
#define __PLAYER_PSJUMP_H__
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Includes
|
||
|
-------- */
|
||
|
|
||
|
#include "player\pstates.h"
|
||
|
|
||
|
|
||
|
/* Std Lib
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Tyepdefs && Defines
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Structure defintions
|
||
|
-------------------- */
|
||
|
|
||
|
class CPlayerStateJump : public CPlayerState
|
||
|
{
|
||
|
public:
|
||
|
void enter(class CPlayer *_player);
|
||
|
void think(class CPlayer *_player);
|
||
|
|
||
|
private:
|
||
|
int m_jumpFrames;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Globals
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Functions
|
||
|
--------- */
|
||
|
|
||
|
/*---------------------------------------------------------------------- */
|
||
|
|
||
|
#endif /* __PLAYER_PSJUMP_H__ */
|
||
|
|
||
|
/*===========================================================================
|
||
|
end */
|
||
|
|
||
|
|
||
|
|