This commit is contained in:
parent
7f0b5ae662
commit
ec8ff7ed5b
4 changed files with 374 additions and 0 deletions
37
source/platform/ptrpdoor.h
Normal file
37
source/platform/ptrpdoor.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*=========================================================================
|
||||
|
||||
ptrpdoor.h
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2001 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __PLATFORM_PTRPDOOR_H__
|
||||
#define __PLATFORM_PTRPDOOR_H__
|
||||
|
||||
#ifndef __PLATFORM_PLATFORM_H__
|
||||
#include "platform\platform.h"
|
||||
#endif
|
||||
|
||||
class CNpcTrapdoorPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
virtual void postInit();
|
||||
DVECTOR const &getTriggerPos() {return( m_triggerPos );}
|
||||
void setTriggered() {m_triggered = true;}
|
||||
virtual void render();
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
|
||||
DVECTOR m_triggerPos;
|
||||
u8 m_triggered;
|
||||
u8 m_pointRight;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue