<commit_before>#ifndef Ancona_Engine_Core_Systems_ContainerDrawable_H_
#define Ancona_Engine_Core_Systems_ContainerDrawable_H_

#include <SFML/Graphics/RenderWindow.hpp>
#include <Ancona/Core2D/Systems/Drawable/Drawable.hpp>

namespace ild
{

/**
 * @brief A drawable that contains a list of other drawables.
 *
 * @author <NAME>
 */
class ContainerDrawable : public Drawable
{
    public:
        /**
         * @brief Default constructor, should only be used by the serializer.
         */
        ContainerDrawable() {}

        /**
         * @brief Constructs a ContainerDrawable
         *
         * @param priority RenderPriority that determines when the drawable obj is rendered.
         * @param priorityOffset Optional offset to the render priority.
         * @param positionOffset Vector that defines the offset from its parent drawable or from the BasePhysicsComponent
         *                       position if it is the top drawable.
         *
         */
        ContainerDrawable(
                const int priority,
                int priorityOffset,
                sf::Vector2f positionOffset);

        /**
         * @copydoc ild::Drawable::Draw
         */
        void Draw(sf::RenderWindow &window, sf::Transform parentTransform, float delta);

        /**
         * @copydoc ild::CameraComponent::Serialize
         */
        void Serialize(Archive & arc);

        /**
         * @copydoc ild::CameraComponent::FetchDependencies
         */
        void FetchDependencies(const Entity & entity);

        /* getters and setters */
        sf::Vector2u size() override;<commit_msg>fix ContainerDrawable constructor to use optional params<commit_after>#ifndef Ancona_Engine_Core_Systems_ContainerDrawable_H_
#define Ancona_Engine_Core_Systems_ContainerDrawable_H_

#include <SFML/Graphics/RenderWindow.hpp>
#include <Ancona/Core2D/Systems/Drawable/Drawable.hpp>

namespace ild
{

/**
 * @brief A drawable that contains a list of other drawables.
 *
 * @author <NAME>
 */
class ContainerDrawable : public Drawable
{
    public:
        /**
         * @brief Default constructor, should only be used by the serializer.
         */
        ContainerDrawable() {}

        /**
         * @brief Constructs a ContainerDrawable
         *
         * @param priority RenderPriority that determines when the drawable obj is rendered.
         * @param priorityOffset Optional offset to the render priority.
         * @param positionOffset Vector that defines the offset from its parent drawable or from the BasePhysicsComponent
         *                       position if it is the top drawable.
         *
         */
        ContainerDrawable(
                const int priority,
                int priorityOffset = 0,
                sf::Vector2f positionOffset = sf::Vector2f(0.0f, 0.0f));

        /**
         * @copydoc ild::Drawable::Draw
         */
        void Draw(sf::RenderWindow &window, sf::Transform parentTransform, float delta);

        /**
         * @copydoc ild::CameraComponent::Serialize
         */
        void Serialize(Archive & arc);

        /**
         * @copydoc ild::CameraComponent::FetchDependencies
         */
        void FetchDependencies(const Entity & entity);

        /* getters and setters */
        sf::Vector2u size() override;
{'fraction_non_alphanumeric': 0.08444309927360774, 'fraction_numerical': 0.0036319612590799033, 'mean_word_length': 2.2401960784313726, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3018908', 'n_tokens_mistral': 850, 'n_tokens_neox': 845, 'n_words': 242}