SBSPSS/source/player/pmchop.h

79 lines
1.6 KiB
C
Raw Normal View History

2001-03-25 22:49:18 +02:00
/*=========================================================================
pmchop.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PMCHOP_H__
#define __PLAYER_PMCHOP_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PLAYER_PMODES_H__
#include "player\pmodes.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerModeChop : public CPlayerModeBase
{
2001-03-27 22:29:02 +02:00
public:
virtual void enter();
virtual void think();
virtual void setAnimNo(int _animNo);
virtual void setAnimFrame(int _animFrame);
2001-04-12 20:48:33 +02:00
virtual ATTACK_STATE getAttackState();
2001-03-27 22:29:02 +02:00
2001-05-01 22:23:32 +02:00
virtual void setPlayerCollisionSize(int _x,int _y,int _w,int _h);
2001-03-27 22:29:02 +02:00
private:
int canAttackFromThisState();
int m_savedAnimNo,m_savedAnimFrame;
int m_chopFrame;
int m_chopping;
2001-05-01 22:23:32 +02:00
int m_savedCSX,m_savedCSY,m_savedCSW,m_savedCSH;
2001-03-25 22:49:18 +02:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PMCHOP_H__ */
/*===========================================================================
end */