mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 11:00:38 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user