2001-05-01 22:29:42 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pbounce.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PBOUNCE_H__
|
|
|
|
#define __PLATFORM_PBOUNCE_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcBouncePlatform : public CNpcPlatform
|
|
|
|
{
|
2001-05-02 16:29:10 +02:00
|
|
|
public:
|
|
|
|
virtual void postInit();
|
2001-05-01 22:29:42 +02:00
|
|
|
virtual void think( int _frames );
|
2001-05-02 16:29:10 +02:00
|
|
|
virtual void render();
|
|
|
|
protected:
|
|
|
|
s32 m_vertScale;
|
|
|
|
s32 m_vertVelocity;
|
2001-05-01 22:29:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|