SBSPSS/source/platform/pbranch.h

41 lines
1.0 KiB
C
Raw Normal View History

2001-04-24 23:03:46 +02:00
/*=========================================================================
pbranch.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PBRANCH_H__
#define __PLATFORM_PBRANCH_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcBranchPlatform : public CNpcPlatform
{
public:
virtual void postInit();
2001-05-02 01:41:00 +02:00
virtual void render();
2001-05-21 16:22:26 +02:00
virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
2001-04-24 23:03:46 +02:00
protected:
2001-04-25 21:22:15 +02:00
virtual void setWaypoints( sThingPlatform *ThisPlatform );
2001-04-24 23:03:46 +02:00
virtual void processMovement( int _frames );
2001-05-21 16:22:26 +02:00
virtual sBBox &getBBox();
2001-04-24 23:03:46 +02:00
2001-05-21 16:22:26 +02:00
//virtual void collidedWith(CThing *_thisThing);
//virtual void calculateBoundingBoxSize();
//virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
2001-05-02 17:32:47 +02:00
2001-04-25 21:22:15 +02:00
s32 m_angularVelocity;
u8 m_reversed;
2001-05-21 16:22:26 +02:00
sBBox m_boundingBox;
2001-04-24 23:03:46 +02:00
};
#endif