develop #16

Merged
cromer merged 6 commits from develop into master 2022-07-06 18:11:24 -04:00
7 changed files with 20 additions and 30 deletions
Showing only changes of commit 4a2cda5ecd - Show all commits

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;