sqwarmed/sdk_src/game/server/actanimating.h

36 lines
736 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef ACTANIMATING_H
#define ACTANIMATING_H
#ifdef _WIN32
#pragma once
#endif
#include "baseanimating.h"
class CActAnimating : public CBaseAnimating
{
public:
DECLARE_CLASS( CActAnimating, CBaseAnimating );
void SetActivity( Activity act );
inline Activity GetActivity( void ) { return m_Activity; }
virtual int ObjectCaps( void ) { return BaseClass::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; }
DECLARE_DATADESC();
private:
Activity m_Activity;
};
#endif // ACTANIMATING_H