Files

31 lines
733 B
C++
Raw Permalink Normal View History

2025-07-02 00:00:38 +08:00
//========= Copyright Š 1996-2008, Valve LLC, All rights reserved. ============
//
// Purpose: A SpaceWarEntity is just like a VectorEntity, except it knows how
// to apply gravity from the SpaceWar Sun
//
// $NoKeywords: $
//=============================================================================
#ifndef SPACEWARENTITY_H
#define SPACEWARENTITY_H
#include "GameEngine.h"
#include "VectorEntity.h"
class CSpaceWarEntity : public CVectorEntity
{
public:
// Constructor
CSpaceWarEntity( IGameEngine *pGameEngine, uint32 uCollisionRadius, bool bAffectedByGravity );
// Destructor
virtual ~CSpaceWarEntity() { return; }
// Run Frame
void RunFrame();
private:
bool m_bAffectedByGravity;
};
#endif // SPACEWARENTITY_H