NS/main/source/mod/AvHReinforceable.h
Ari Timonen 4f13237895 Update line endings
Change CRLF to LF in repo.
2018-04-22 18:55:55 +03:00

45 lines
914 B
C++

#ifndef AVHREINFORCEABLE_H
#define AVHREINFORCEABLE_H
#include "../util/nowarnings.h"
#include "../dlls/extdll.h"
#include "../dlls/util.h"
#include "AvHConstants.h"
#include "AvHBuildable.h"
#include "../dlls/cbase.h"
#include "AvHMessage.h"
#include "AvHSpecials.h"
#include "AvHPlayer.h"
class AvHReinforceable
{
public:
AvHReinforceable();
virtual void CueRespawnEffect(AvHPlayer* inPlayer);
virtual bool GetCanReinforce() const = 0;
virtual bool GetSpawnLocationForPlayer(CBaseEntity* inPlayer, Vector& outLocation) const = 0;
virtual AvHTeamNumber GetReinforceTeamNumber() const = 0;
AvHPlayer* GetReinforcingPlayer();
virtual float GetReinforceTime() const;
virtual void ResetEntity(void);
virtual void UpdateReinforcements();
protected:
virtual void ResetReinforcingPlayer(bool inSuccess);
private:
int mReinforcingPlayer;
float mLastTimeReinforced;
};
#endif