2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
|
|
|
class AmShieldGenerator : public CppScripts::Script
|
|
|
|
{
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnStartup(Entity* self) override;
|
|
|
|
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
|
|
|
|
void OnDie(Entity* self, Entity* killer) override;
|
|
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void StartShield(Entity* self);
|
|
|
|
void BuffPlayers(Entity* self);
|
|
|
|
void EnemyEnteredShield(Entity* self, Entity* intruder);
|
2021-12-05 17:54:36 +00:00
|
|
|
};
|