1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00
hl2sdk/game/server/env_ambient_light.h
2010-07-22 01:46:14 -05:00

28 lines
715 B
C++

#ifndef _INCLUDED_ENV_AMBIENT_LIGHT_H
#define _INCLUDED_ENV_AMBIENT_LIGHT_H
#include "spatialentity.h"
//------------------------------------------------------------------------------
// Purpose : Ambient light controller entity
//------------------------------------------------------------------------------
class CEnvAmbientLight : public CSpatialEntity
{
DECLARE_CLASS( CEnvAmbientLight, CSpatialEntity );
public:
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
virtual void Spawn( void );
void InputSetColor(inputdata_t &inputdata);
void SetColor( const Vector &vecColor );
private:
color32 m_Color;
CNetworkVector( m_vecColor );
};
#endif // _INCLUDED_ENV_AMBIENT_LIGHT_H