summaryrefslogtreecommitdiff
path: root/utils/tfstats/survivalistaward.h
blob: 1c9b3fca9083390088b67ac1eaf0f0cefce6b796 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Interface of CSurvivalistAward
//
// $Workfile:     $
// $Date:         $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef SURVIVALISTAWARD_H
#define SURVIVALISTAWARD_H
#ifdef WIN32
#pragma once
#endif
#include "Award.h"

//------------------------------------------------------------------------------------------------------
// Purpose: CSurvivalistAward is an award given to the player who died the least
// while playing as a scout
//------------------------------------------------------------------------------------------------------
class CSurvivalistAward: public CAward
{
protected:
	map <PID,int> numdeaths;
	void noWinner(CHTMLFile& html);
	void extendedinfo(CHTMLFile& html);
public:
	explicit CSurvivalistAward():CAward("Survivalist"){}
	void getWinner();
};
#endif // SURVIVALISTAWARD_H