From c231788e04e82e2e195a4684c95729e9d40e4ee4 Mon Sep 17 00:00:00 2001 From: ZhuangYumin Date: Tue, 26 Sep 2023 10:40:11 +0800 Subject: [PATCH] format --- src/include/client.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/include/client.h b/src/include/client.h index 0458c68..2943502 100644 --- a/src/include/client.h +++ b/src/include/client.h @@ -52,17 +52,17 @@ const int max_size = 35; char game_map[max_size][max_size]; /** * @brief The definition of function PreProcessData() - * - * @details This function is designed to preprocess the data of the game map immedietly after reading it. + * + * @details This function is designed to preprocess the data of the game map + * immedietly after reading it. */ -void PreProcessData() { - using namespace Client; -} +void PreProcessData() { using namespace Client; } /** * @brief The definition of function GenerateNextStep() - * - * @details This function is designed to generate the next step when playing the client's (or player's) role. -*/ + * + * @details This function is designed to generate the next step when playing the + * client's (or player's) role. + */ std::pair GenerateNextStep() { using namespace Client; return std::make_pair(0, 0); @@ -86,7 +86,7 @@ void ReadMap() { void Decide() { using namespace Client; while (true) { - std::pair next_step = GenerateNextStep(); + std::pair next_step = GenerateNextStep(); Execute(next_step.first, next_step.second); } }