Fix documentation and remove friend keyword

Remove friend keyword and put variables in public instead
Fix documentation where the name of the component is not specified

Co-Authored-By: Benjamin HENRY <44569175+EternalRat@users.noreply.github.com>
This commit is contained in:
TrueBabyChaise
2021-05-21 15:11:03 +02:00
parent 54cb40aa0b
commit 80e9d674e9
6 changed files with 45 additions and 48 deletions
@@ -32,21 +32,19 @@ namespace BBM
//! @inherit
WAL::Component *clone(WAL::Entity &entity) const override;
//! @brief A component can't be instantiated, it should be derived.
//! @brief A Keyboard component can't be instantiated, it should be derived.
explicit KeyboardComponent(WAL::Entity &entity);
//! @brief Constructor
KeyboardComponent(WAL::Entity &entity, unsigned int maxBombCount);
//! @brief A component can't be instantiated, it should be derived.
//! @brief A Keyboard component can't be instantiated, it should be derived.
KeyboardComponent(const KeyboardComponent &) = default;
//! @brief default destructor
~KeyboardComponent() override = default;
//! @brief A component can't be assigned
//! @brief A Keyboard component can't be assigned
KeyboardComponent &operator=(const KeyboardComponent &) = delete;
friend class KeyboardSystem;
};
}