Files
DoomRTX/neo/prey/Prey/game_jumpzone.h
T
2026-05-05 15:01:01 -07:00

29 lines
567 B
C++

// Game_JumpZone.h
//
#ifndef __GAME_JUMPZONE_H__
#define __GAME_JUMPZONE_H__
class hhJumpZone : public hhTrigger {
public:
CLASS_PROTOTYPE( hhJumpZone );
void Spawn( void );
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
protected:
idVec3 CalculateJumpVelocity();
void Event_Touch( idEntity *other, trace_t *trace );
void Event_Enable( void );
void Event_Disable( void );
void Event_ResetSlopeCheck(int entNum);
public:
idVec3 velocity;
float pitchDegrees;
};
#endif /* __GAME_JUMPZONE_H__ */