mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
e966d3a644
* Testing Scripts Testing splitting AgSpaceStuff into AgSpaceStuff and AgShipShake * fixed inclusions * Removed DoShake * cleaning up * consistent if statements * Update dScripts/ai/AG/AgShipShake.h Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> --------- Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
17 lines
413 B
C++
17 lines
413 B
C++
#pragma once
|
|
#include "CppScripts.h"
|
|
|
|
class AgShipShake : public CppScripts::Script {
|
|
public:
|
|
void OnStartup(Entity* self) override;
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
|
|
|
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);
|
|
};
|