mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-09 08:56:43 +00:00
35 lines
697 B
C++
35 lines
697 B
C++
//========= 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
|
|
|
|
|