mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 12:40:25 +02:00
Initial Prey Game integration support.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#ifndef __GAME_TRACKMOVER_H__
|
||||
#define __GAME_TRACKMOVER_H__
|
||||
|
||||
|
||||
class hhTrackMover : public idMover {
|
||||
CLASS_PROTOTYPE( hhTrackMover );
|
||||
public:
|
||||
hhTrackMover();
|
||||
void Spawn( void );
|
||||
void Save( idSaveGame *savefile ) const;
|
||||
void Restore( idRestoreGame *savefile );
|
||||
idEntity * GetNextDestination( void );
|
||||
void DoneMoving( void );
|
||||
|
||||
protected:
|
||||
enum States {
|
||||
StateGlobal = 0,
|
||||
StateIdle,
|
||||
StateDead
|
||||
} state;
|
||||
|
||||
int timeBetweenMoves;
|
||||
idEntity * currentNode; // Current node of track
|
||||
|
||||
void Event_Activate( idEntity *activator );
|
||||
void Event_Deactivate();
|
||||
void Event_PostSpawn( void );
|
||||
void Event_StartNextMove( void );
|
||||
void Event_Kill();
|
||||
};
|
||||
|
||||
|
||||
#endif /* __GAME_TRACKMOVER_H__ */
|
||||
Reference in New Issue
Block a user