This commit is contained in:
parent
0cd0f57f9c
commit
b32a609fdf
2 changed files with 171 additions and 0 deletions
37
source/platform/pdual.h
Normal file
37
source/platform/pdual.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*=========================================================================
|
||||
|
||||
pdual.h
|
||||
|
||||
Author: CRB
|
||||
Created:
|
||||
Project: Spongebob
|
||||
Purpose:
|
||||
|
||||
Copyright (c) 2001 Climax Development Ltd
|
||||
|
||||
===========================================================================*/
|
||||
|
||||
#ifndef __PLATFORM_PDUAL_H__
|
||||
#define __PLATFORM_PDUAL_H__
|
||||
|
||||
#ifndef __PLATFORM_PLATFORM_H__
|
||||
#include "platform\platform.h"
|
||||
#endif
|
||||
|
||||
class CNpcDualPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
void setMaster( u8 isMaster );
|
||||
void setOtherPlatform( CNpcDualPlatform *other );
|
||||
void setMovement( DVECTOR move );
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
|
||||
u8 m_isMaster;
|
||||
CNpcDualPlatform *m_otherPlatform;
|
||||
s32 m_maxExtension;
|
||||
s32 m_extension;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue