//#
//# Copyright (C) 2021-2021 QuasarApp.
//# Distributed under the GPLv3 software license, see the accompanying
//# Everyone is permitted to copy and distribute verbatim copies
//# of this license document, but changing it is not allowed.
//#

#ifndef DEFAULTCONTROL_H
#define DEFAULTCONTROL_H

#include "player.h"

namespace CRAWL {


/**
 * @brief The DefaultControl class This class contains default implementation of the game menu.
 */
class CRAWL_EXPORT DefaultControl : public Player {
    Q_OBJECT
public:
    DefaultControl();

    /**
     * @brief initQmlView This implementation use the DefaultMenu.qml file.
     * @return qrc:/CrawlModule/DefaultMenu.qml
     */
    QString initQmlView() const;

signals:
    /**
     * @brief backToMenu Emit when user click the return to main menu button.
     */
    void backToMenu();

    /**
     * @brief userTap Emit when user tap to screen on any position.
     */
    void userTap();
};

}

#endif // DEFAULTCONTROL_H
