SBSPSS/source/platform/pcart.h
Charles c685da55e0
2001-07-06 19:42:07 +00:00

42 lines
No EOL
816 B
C++

/*=========================================================================
pcart.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PCART_H__
#define __PLATFORM_PCART_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcCartPlatform : public CNpcPlatform
{
public:
void postInit();
void render();
u8 isCart() {return( true );}
void jump();
protected:
void processMovement( int _frames );
void collidedWith(CThing *_thisThing);
s32 m_carSpeed;
u8 m_isActivated;
u8 m_inJump;
s32 m_vertSpeed;
u8 m_playerAttached;
u8 m_rebound;
s32 m_reboundTimer;
};
#endif