mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +00:00
19 lines
443 B
C++
19 lines
443 B
C++
#pragma once
|
|
#include "CppScripts.h"
|
|
|
|
class AgShipShake : public CppScripts::Script {
|
|
public:
|
|
void OnStartup(Entity* self);
|
|
void OnTimerDone(Entity* self, std::string timerName);
|
|
void DoShake(Entity* self, bool explodeIdle);
|
|
|
|
std::string DebrisFX = "DebrisFX";
|
|
std::string ShipFX = "ShipFX";
|
|
std::string ShipFX2 = "ShipFX2";
|
|
std::u16string FXName = u"camshake-bridge";
|
|
|
|
private:
|
|
Entity* GetEntityInGroup(const std::string& group);
|
|
};
|
|
|