This commit is contained in:
aozhiwei 2022-12-26 10:23:40 +08:00
parent a79cae0625
commit 4e26fbb58b
2 changed files with 4 additions and 4 deletions

View File

@ -109,7 +109,7 @@ namespace mt
} }
int AI::GetMoveIdleTime() int AI::GetMoveIdleTime() const
{ {
return a8::RandEx( return a8::RandEx(
std::get<0>(_random_move_idle_time), std::get<0>(_random_move_idle_time),
@ -117,7 +117,7 @@ namespace mt
); );
} }
int AI::GetMoveTime() int AI::GetMoveTime() const
{ {
return a8::RandEx( return a8::RandEx(
std::get<0>(_random_move_time), std::get<0>(_random_move_time),

View File

@ -13,8 +13,8 @@ namespace mt
void Init1(); void Init1();
void Init2(); void Init2();
int GetMoveIdleTime(); int GetMoveIdleTime() const;
int GetMoveTime(); int GetMoveTime() const;
float _param1 = 0.0f; float _param1 = 0.0f;
float _param2 = 0.0f; float _param2 = 0.0f;