Files
SteamworksSDK/SteamworksExample/SpaceWarEntity.h
T
Riley Labrecque 1383b358e4 v1.00
2016-07-07 05:54:47 -06:00

31 lines
733 B
C++

//========= 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( CGameEngine *pGameEngine, uint32 uCollisionRadius, bool bAffectedByGravity );
// Destructor
virtual ~CSpaceWarEntity() { return; }
// Run Frame
void RunFrame();
private:
bool m_bAffectedByGravity;
};
#endif // SPACEWARENTITY_H