Closed shrpne closed 1 year ago
I added timeLeft in milliseconds, it may be useful, for example, if you want to show an alert when player has very few seconds left.
Also I made it to store playerTimeLeft instead of playerTimeBar, so time bar will be derived value and we will not need to store 2 values
I added timeLeft in milliseconds, it may be useful, for example, if you want to show an alert when player has very few seconds left.
Also I made it to store playerTimeLeft instead of playerTimeBar, so time bar will be derived value and we will not need to store 2 values