update comments

This commit is contained in:
Chris Cromer 2022-04-22 21:56:22 -04:00
parent 8b251776a0
commit 4a2cda5ecd
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
7 changed files with 20 additions and 30 deletions

View File

@ -8,11 +8,6 @@
#include <SpriteFrames.hpp> #include <SpriteFrames.hpp>
#include <ResourceLoader.hpp> #include <ResourceLoader.hpp>
/**
* @brief This is the godot namespace for all the code included in the library.
*
* @details This namespace is used a prefix when the Godot engine looks for classes, methods, and properties.
*/
namespace godot namespace godot
{ {
/** /**

View File

@ -7,17 +7,12 @@
#include <Input.hpp> #include <Input.hpp>
#include <AnimatedSprite.hpp> #include <AnimatedSprite.hpp>
/**
* @brief This is the godot namespace for all the code included in the library.
*
* @details This namespace is used a prefix when the Godot engine looks for classes, methods, and properties.
*/
namespace godot namespace godot
{ {
namespace player namespace player
{ {
/** /**
* @brief This class controls what happens when the player is in a falling state. * @brief This class controls what happens when the Player is in a falling state.
* *
*/ */
class PlayerFall : public State class PlayerFall : public State
@ -32,7 +27,7 @@ namespace godot
Input *_input; Input *_input;
/** /**
* @brief The animated sprite connected to the player. * @brief The animated sprite connected to the Player.
* *
*/ */
AnimatedSprite *animated_sprite; AnimatedSprite *animated_sprite;

View File

@ -13,7 +13,7 @@ namespace godot
namespace player namespace player
{ {
/** /**
* @brief This class controls what happens when the player is in the idle state. * @brief This class controls what happens when the Player is in the idle state.
* *
*/ */
class PlayerIdle : public State class PlayerIdle : public State
@ -27,7 +27,7 @@ namespace godot
*/ */
Input *_input; Input *_input;
/** /**
* @brief The animated sprite of the player. * @brief The animated sprite of the Player.
* *
*/ */
AnimatedSprite *animated_sprite; AnimatedSprite *animated_sprite;

View File

@ -12,7 +12,7 @@ namespace godot
namespace player namespace player
{ {
/** /**
* @brief This class control what happens when the player is in the jump state. * @brief This class control what happens when the Player is in the jump state.
* *
*/ */
class PlayerJump : public State class PlayerJump : public State
@ -26,7 +26,7 @@ namespace godot
*/ */
Input *_input; Input *_input;
/** /**
* @brief The animated sprite connected to the player. * @brief The animated sprite connected to the Player.
* *
*/ */
AnimatedSprite *animated_sprite; AnimatedSprite *animated_sprite;

View File

@ -12,7 +12,7 @@ namespace godot
namespace player namespace player
{ {
/** /**
* @brief This class controls what happens when the player is in the move state. * @brief This class controls what happens when the Player is in the move state.
* *
*/ */
class PlayerMove : public State class PlayerMove : public State
@ -26,7 +26,7 @@ namespace godot
*/ */
Input *_input; Input *_input;
/** /**
* @brief The animated sprite of the player. * @brief The animated sprite of the Player.
* *
*/ */
AnimatedSprite *animated_sprite; AnimatedSprite *animated_sprite;