aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/server/actanimating.h
blob: 5aa2b93be33223bbfa9daeee473bfc6634633a86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//========= Copyright 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