Implemented die roll animations for the Lego Dice item

This commit is contained in:
BuildTools
2021-12-15 13:23:49 -06:00
parent d7294bda55
commit fb18225f46
4 changed files with 56 additions and 0 deletions

11
dScripts/LegoDieRoll.h Normal file
View 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;
};