This commit is contained in:
aozhiwei 2023-04-21 19:01:17 +08:00
parent cf6ac96828
commit 314591a587

View File

@ -23,6 +23,15 @@ void Guide::Init(Human* owner)
} }
curr_step_idx_ = 0; curr_step_idx_ = 0;
UpdateStep(); UpdateStep();
owner_->room->xtimer.SetTimeoutEx
(
SERVER_FRAME_RATE * 60 * 10,
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
}
},
&owner_->xtimer_attacher);
} }
void Guide::UpdateStep() void Guide::UpdateStep()