kurosio / Teeworlds-MRPG-0.6

Other
6 stars 10 forks source link

Add cooldown with callback #11

Closed kurosio closed 4 months ago

kurosio commented 1 year ago

For example, when using some actions in quests. there will be a progress bar with numbers cooldown.

I envision it at the moment.

{
     // some code inside {}
     CCooldown* pCol = CreateCooldown(/*timer*/, /*some callback*/); // destructor inside object on handle time
}
Anime-pdf commented 4 months ago

resolved in https://github.com/kurosio/Teeworlds-MRPG-0.6/commit/f1219840