SBSPSS/source/pickups/pkelp.h
2001-06-01 18:59:33 +00:00

71 lines
1.5 KiB
C++

/*=========================================================================
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
-------------------- */
class CKelpTokenPickup : public CBasePickup
{
public:
virtual void init();
virtual DVECTOR getSizeForPlacement();
virtual void collect(class CPlayer *_player);
void setTokenNumber(int _number) {m_tokenNumber=_number;}
protected:
virtual void renderPickup(DVECTOR *_pos);
private:
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_ITEM__SKILL_ITEM;}
int m_tokenNumber;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PKELP_H__ */
/*===========================================================================
end */