Fix overrides in ActMine (#568)

This commit is contained in:
Aaron Kimbrell 2022-05-31 00:24:55 -05:00 committed by GitHub
parent 73bbe641c6
commit 66215da37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,10 @@
class ActMine : public CppScripts::Script {
public:
void OnStartup(Entity* self);
void OnStartup(Entity* self) override;
void OnRebuildNotifyState(Entity* self, eRebuildState state) override;
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status);
void OnTimerDone(Entity* self, std::string timerName);
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
void OnTimerDone(Entity* self, std::string timerName) override;
private:
int MAX_WARNINGS = 3;
float MINE_RADIUS = 10.0;