blob: 5d6dfdf6f51ba4931fa3c98617acb9725b8633b7 (
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
37
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Interface of CSentryRebuildAward
//
// $Workfile: $
// $Date: $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef SENTRYREBUILDAWARD_H
#define SENTRYREBUILDAWARD_H
#ifdef WIN32
#pragma once
#endif
#include "Award.h"
#include <map>
using namespace std;
//------------------------------------------------------------------------------------------------------
// Purpose: CSentryRebuildAward is given to the engineers who built a sentry
// gun the most times
//------------------------------------------------------------------------------------------------------
class CSentryRebuildAward: public CAward
{
protected:
map<PID,int> numbuilds;
void noWinner(CHTMLFile& html);
void extendedinfo(CHTMLFile& html);
public:
explicit CSentryRebuildAward():CAward("Worst Sentry Placement"){}
void getWinner();
};
#endif // SENTRYREBUILDAWARD_H
|