summaryrefslogtreecommitdiff
path: root/game/client/dod/c_dod_playerresource.h
blob: 65b08ac0b3cd8ce8388ebd9c99009e6dd46fbdfc (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
36
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: DOD's custom C_PlayerResource
//
// $NoKeywords: $
//=============================================================================//

#ifndef C_DOD_PLAYERRESOURCE_H
#define C_DOD_PLAYERRESOURCE_H
#ifdef _WIN32
#pragma once
#endif

#include "dod_shareddefs.h"
#include "c_playerresource.h"

class C_DOD_PlayerResource : public C_PlayerResource
{
	DECLARE_CLASS( C_DOD_PlayerResource, C_PlayerResource );
public:
	DECLARE_CLIENTCLASS();

					C_DOD_PlayerResource();
	virtual			~C_DOD_PlayerResource();

	int GetScore( int iIndex );
	int GetPlayerClass( int iIndex );
	
protected:

	int		m_iObjScore[MAX_PLAYERS+1];
	int		m_iPlayerClass[MAX_PLAYERS+1];
};


#endif // C_DOD_PLAYERRESOURCE_H