Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
697 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: CTF Armor.
//
//=============================================================================//
#ifndef ENTITY_ARMOR_H
#define ENTITY_ARMOR_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_powerup.h"
//=============================================================================
//
// CTF Armor class.
//
class CArmor : public CTFPowerup
{
public:
DECLARE_CLASS( CArmor, CTFPowerup );
void Spawn( void );
void Precache( void );
bool MyTouch( CBasePlayer *pPlayer );
virtual const char *GetDefaultPowerupModel( void ) { return "models/items/car_battery01.mdl"; }
};
#endif // ENTITY_ARMOR_H