update loop cleanup

This commit is contained in:
jadebenn
2023-11-21 21:19:30 -06:00
parent 3f1468ebdf
commit e4b3e22570
2 changed files with 32 additions and 28 deletions

View File

@@ -47,6 +47,12 @@ public:
void Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate) override;
void Update(float deltaTime) override;
/**
* Handles updates for unowned pets
* @param deltaTime time since last update
*/
void UpdateUnowned(float deltaTime);
/**
* Handles an OnUse event from another entity, initializing the pet taming minigame if this pet is untamed.
* @param originator the entity that triggered the event