mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-10 09:28:06 +00:00
Implemented die roll animations for the Lego Dice item
This commit is contained in:
11
dScripts/LegoDieRoll.h
Normal file
11
dScripts/LegoDieRoll.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
#include "CppScripts.h"
|
||||
|
||||
class LegoDieRoll : public CppScripts::Script {
|
||||
public:
|
||||
void OnStartup(Entity* self);
|
||||
void OnTimerDone(Entity* self, std::string timerName);
|
||||
private:
|
||||
constexpr static const float animTime = 2.0f;
|
||||
};
|
||||
|
Reference in New Issue
Block a user