networking
This commit is contained in:
31
external/steamworks/steamworksexample/SpaceWarEntity.h
vendored
Normal file
31
external/steamworks/steamworksexample/SpaceWarEntity.h
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
//========= 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
|
||||
Reference in New Issue
Block a user