2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
#include "CppScripts.h"
|
|
|
|
|
|
|
|
class AmSkullkinTower : public CppScripts::Script
|
|
|
|
{
|
|
|
|
public:
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnStartup(Entity* self) override;
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void SpawnLegs(Entity* self, const std::string& loc);
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnChildLoaded(Entity* self, Entity* child);
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void NotifyDie(Entity* self, Entity* other, Entity* killer);
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnChildRemoved(Entity* self, Entity* child);
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
|
|
|
};
|