tools/drawMapTest/mainwindow.h
author Wuzzy <almikes@aol.com>
Thu, 05 Oct 2017 17:39:04 +0200
changeset 12653 1215fd246e08
parent 4477 63a21fac8bf7
permissions -rw-r--r--
Climb Home: Fix game getting stuck when player reaches home What now happens if a player reaches home: - sndWinning - Show caption with finishing time - Winning hog is teleported to roof and can be seen by everyone - 4 second delay - If there are still hogs left, the game continues normally - Each victory is mentioned in stats screen at the end

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class DrawMapScene;

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;
    DrawMapScene * scene;

private slots:
    void on_pbLoad_clicked();
    void on_pbSave_clicked();
    void scene_pathChanged();
};

#endif // MAINWINDOW_H