SBSPSS/source/platform/pfgen.h

34 lines
756 B
C
Raw Normal View History

2001-05-03 21:01:23 +02:00
/*=========================================================================
pfgen.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PFGEN_H__
#define __PLATFORM_PFGEN_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
class CNpcFallingPlatformGenerator : public CNpcPlatform
{
public:
void setTargetType( NPC_PLATFORM_UNIT_TYPE targetType ) {m_targetType = targetType;}
2001-07-04 16:26:36 +02:00
void render();
2001-06-29 16:19:28 +02:00
bool alwaysThink() {return(true);}
2001-05-03 21:01:23 +02:00
protected:
2001-07-04 16:26:36 +02:00
void think( int _frames );
void collidedWith(CThing *_thisThing);
2001-05-03 21:01:23 +02:00
NPC_PLATFORM_UNIT_TYPE m_targetType;
};
#endif