#include "AElement.h"

std::unique_ptr<Component> AElement::renderer(const Node &node, int y, int windowWidth, int windowHeight) {
    return std::make_unique<TextComponent>(static_cast<const TextNode&>(node).text, 0, y, 12, false, 0x00FFFF, windowWidth, windowHeight);
}