All pastes #963446 Raw Edit

Someone

public text v1 · immutable
#963446 ·published 2008-03-30 16:00 UTC
rendered paste body
#ifndef MEZOK_H
#define MEZOK_H

#include <QtGui/QPushButton>
#include <QtGui/QWidget>
#include <vector.h>

class _Mezok
{
    private:
        vector<QPushButton *> Mezok;
        bool goinghome[4] = {false}

    public:
        int currentdir[4][2];
        _Mezok(QWidget *Form);
        void SetMezok();
        void CreateRandom();
        void Step();
        void SetDirection(int which, int x, int y);
        bool TestDir(int wich, int x, int  y, bool homegoing);
};