SBSPSS/source/platform/pcart.h
Charles 8a4fea8d7a
2001-08-14 18:46:33 +00:00

43 lines
882 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();
bool alwaysThink() {return(true);}
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;
u8 m_falling;
u8 m_trackContact;
};
#endif