mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
24 lines
468 B
C++
24 lines
468 B
C++
#ifndef __HH_ITEM_AUTOMATIC_H
|
|
#define __HH_ITEM_AUTOMATIC_H
|
|
|
|
/***********************************************************************
|
|
|
|
hhItemAutomatic
|
|
|
|
***********************************************************************/
|
|
|
|
class hhItemAutomatic : public idEntity {
|
|
CLASS_PROTOTYPE( hhItemAutomatic );
|
|
|
|
public:
|
|
void Spawn();
|
|
virtual void Think();
|
|
|
|
|
|
protected:
|
|
void SpawnItem();
|
|
idStr GetNewItem();
|
|
float FindAmmoNearby( const char *ammoName );
|
|
};
|
|
|
|
#endif |