#ifndef MACHINE_H_INCLUDED
#define MACHINE_H_INCLUDED

#include <iostream>
using namespace std;

#define MAX_VALUE 80
#define MIN_VALUE 0
#define STEP_VALUE 20

enum MachineState {sA, sB, sC, sD};

class Machine {
    private:
        MachineState currentState;
        int value;
    public:
        Machine();

        bool metodaX();
        bool metodaY();
        bool metodaZ();
        bool metodaW();

        bool plus();
        bool minus();

        MachineState getCurrentState() const;
        int getValue() const;
};

#endif // MACHINE_H_INCLUDED
