feat(Core/Instance): Add TaskScheduler to the InstanceScript class (#17284)
feat(Core/Instance): Add TaskScheduler to the instancescript class
This commit is contained in:
parent
655f2bb15b
commit
0bf559f975
4 changed files with 14 additions and 18 deletions
|
|
@ -218,6 +218,11 @@ void InstanceScript::UpdateMinionState(Creature* minion, EncounterState state)
|
|||
}
|
||||
}
|
||||
|
||||
void InstanceScript::Update(uint32 diff)
|
||||
{
|
||||
scheduler.Update(diff);
|
||||
}
|
||||
|
||||
void InstanceScript::UpdateDoorState(GameObject* door)
|
||||
{
|
||||
DoorInfoMapBounds range = doors.equal_range(door->GetEntry());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue