summaryrefslogtreecommitdiff
path: root/utils/tfstats/kamikazeaward.h
blob: c4d6823c5f6a2442865440aee3f4aac8b6a331b3 (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: Interface of CKamikazeAward
//
// $Workfile:     $
// $Date:         $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef KAMIKAZEAWARD_H
#define KAMIKAZEAWARD_H
#ifdef WIN32
#pragma once
#endif
#include "Award.h"
#include <map>

using namespace std;
//------------------------------------------------------------------------------------------------------
// Purpose: CKamikazeAward is an award given to the player who kills him/herself
// the most often.
//------------------------------------------------------------------------------------------------------
class CKamikazeAward: public CAward
{
protected:
	map<PID,int> numdeaths;
	void noWinner(CHTMLFile& html);
	void extendedinfo(CHTMLFile& html);
public:
	explicit CKamikazeAward():CAward("Kamikaze"){}
	void getWinner();
};
#endif // KAMIKAZEAWARD_H