mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-26 23:43:34 +00:00
14 lines
355 B
C
14 lines
355 B
C
|
#pragma once
|
||
|
#include "CppScripts.h"
|
||
|
|
||
|
class SpecialPowerupSpawner : public CppScripts::Script {
|
||
|
public:
|
||
|
SpecialPowerupSpawner(uint32_t skillId) {
|
||
|
m_SkillId = skillId;
|
||
|
};
|
||
|
void OnStartup(Entity* self) override;
|
||
|
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
|
||
|
private:
|
||
|
uint32_t m_SkillId = 0;
|
||
|
};
|