SBSPSS/source/pickups/plife.h

68 lines
1.4 KiB
C
Raw Normal View History

2001-02-20 23:53:35 +01:00
/*=========================================================================
plife.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PICKUPS_PLIFE_H__
#define __PICKUPS_PLIFE_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PICKUPS_PICKUP_H__
#include "pickups/pickup.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CLifePickup : public CBasePickup
{
public:
virtual void init();
2001-04-02 23:37:20 +02:00
virtual DVECTOR getSizeForPlacement();
2001-02-20 23:53:35 +01:00
virtual void collect(class CPlayer *_player);
2001-02-21 23:33:17 +01:00
protected:
virtual void thinkPickup(int _frames);
virtual void renderPickup(DVECTOR *_pos);
2001-02-20 23:53:35 +01:00
private:
int m_sin;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PICKUPS_PLIFE_H__ */
/*===========================================================================
end */