SBSPSS/source/pickups/pglasses.h
2001-06-13 16:59:29 +00:00

75 lines
1.5 KiB
C++

asddsasadsaasd
/*=========================================================================
pglasses.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PGLASSES_H__
#define __PICKUPS_PGLASSES_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGlassesPickup : public CBasePickup
{
public:
virtual void init();
virtual DVECTOR getSizeForPlacement();
virtual void collect(class CPlayer *_player);
protected:
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
private:
virtual CSoundMediator::SFXID sfxToPlayWhenCollected(){return CSoundMediator::SFX_GLASSES_ON;}
int m_glint;
int m_glintRot;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PGLASSES_H__ */
/*===========================================================================
end */