mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-27 08:13:18 +00:00
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:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user