#include "ui-element.hpp" UIElement::UIElement(int x, int y, int width, int height, SDL_Renderer& renderer, void (*onMouseClick)(VulkanGame& gameInfo), void (*onMouseEnter)(UIElement& element), void (*onMouseLeave)(UIElement& element)) : x(x), y(y), width(width), height(height), renderer(renderer), onMouseClick(onMouseClick), onMouseEnter(onMouseEnter), onMouseLeave(onMouseLeave) { } UIElement::~UIElement() { } void UIElement::init() { } void UIElement::handleEvent(GameEvent& e) { }