//
// Created by sasha on 01.12.2025.
//

#ifndef RU_DANSOFT_PUZZLE15_RECORD_LINE_H
#define RU_DANSOFT_PUZZLE15_RECORD_LINE_H

#include "engine/widgets/iwidget.h"
#include "engine/widgets/image.h"
#include "engine/widgets/text.h"

class RecordLine : public IWidget  {
    public:
        RecordLine(IWidget *parent, float x, float y, bool first=false);
        ~RecordLine();

        void setScore(int number, int turn, int time);

    private:
        Image *background;

        Text *txtNumber;
        Text *txtTurn;
        Text *txtTime;

        bool first;
};


#endif //RU_DANSOFT_PUZZLE15_RECORD_LINE_H
