1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

BuzzAnim Update() returns whether it's active.

This commit is contained in:
Bartosz Taudul 2022-09-28 00:57:04 +02:00
parent 499f51f025
commit 6552108f52
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -28,13 +28,15 @@ public:
id = val;
}
void Update( float dt )
bool Update( float dt )
{
if( active )
{
time -= dt;
if( time <= 0 ) active = false;
return true;
}
return false;
}
private: