SBSPSS/source/pickups/pkelp.h

74 lines
1.7 KiB
C
Raw Normal View History

2001-05-29 22:19:24 +02:00
/*=========================================================================
pkelp.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PKELP_H__
#define __PICKUPS_PKELP_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
2001-05-29 22:42:16 +02:00
class CKelpTokenPickup : public CBasePickup
2001-05-29 22:19:24 +02:00
{
public:
virtual void init();
virtual DVECTOR getSizeForPlacement();
virtual void collect(class CPlayer *_player);
void setTokenNumber(int _number) {m_tokenNumber=_number;}
2001-08-03 15:36:09 +02:00
bool alwaysThink();
2001-05-29 22:19:24 +02:00
protected:
2001-06-08 16:05:48 +02:00
virtual void collidedWith(CThing *_thisThing);
2001-05-29 22:19:24 +02:00
virtual void renderPickup(DVECTOR *_pos);
private:
2001-06-11 17:43:36 +02:00
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__ANY_OTHER_ITEM;}//SFX_ITEM__SKILL_ITEM;}
2001-06-01 20:59:33 +02:00
2001-05-29 22:19:24 +02:00
int m_tokenNumber;
2001-07-24 18:22:28 +02:00
int m_collectedFlag;
2001-05-29 22:19:24 +02:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PKELP_H__ */
/*===========================================================================
end */