This commit is contained in:
parent
af8fa3eca2
commit
f1091bc85c
4 changed files with 235 additions and 0 deletions
33
source/platform/pfgen.h
Normal file
33
source/platform/pfgen.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*=========================================================================
|
||||
|
||||
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;}
|
||||
virtual void render();
|
||||
protected:
|
||||
virtual void think( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
NPC_PLATFORM_UNIT_TYPE m_targetType;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue