From c5ea56d9629978a1ad2ba89cc302ee5ace896fa3 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Mon, 7 Aug 2023 17:58:13 +0200 Subject: [PATCH] Fix doxygen comment --- src/scripting/sector.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/scripting/sector.hpp b/src/scripting/sector.hpp index 0fdd54431b6..2e49f0427c9 100644 --- a/src/scripting/sector.hpp +++ b/src/scripting/sector.hpp @@ -52,15 +52,15 @@ class Sector final : public GameObjectManager void set_gravity(float gravity); /** - * Adds a game object to the game - * - * @param class_name GameObject's class - * @param name Name of the created object - * @param posX X position inside the current sector - * @param posY Y position inside the current sector - * @param direction Direction - * @param data Additional data - */ + * Adds a MovingObject to the game. + * + * @param string $class_name GameObject's class. + * @param string $name Name of the created object. + * @param int $posX X position inside the current sector. + * @param int $posY Y position inside the current sector. + * @param string $direction Direction. + * @param string $data Additional data. + */ void add_object(const std::string& class_name, const std::string& name, int posX, int posY, const std::string& direction, const std::string& data);