mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 08:10:32 +02:00
25 lines
491 B
C++
25 lines
491 B
C++
#ifndef GAME_ENTITYSPAWNER_H
|
|
#define GAME_ENTITYSPAWNER_H
|
|
|
|
//
|
|
// hhEntitySpawner
|
|
//
|
|
class hhEntitySpawner : public idEntity {
|
|
public:
|
|
CLASS_PROTOTYPE( hhEntitySpawner );
|
|
|
|
void Spawn( void );
|
|
void Save( idSaveGame *savefile ) const;
|
|
void Restore( idRestoreGame *savefile );
|
|
|
|
protected:
|
|
void Event_Activate(idEntity *activator);
|
|
void Event_SpawnEntity( void );
|
|
|
|
idStr entDefName;
|
|
idDict entSpawnArgs;
|
|
int maxSpawnCount;
|
|
int currSpawnCount;
|
|
};
|
|
|
|
#endif |