SWADP/Opdracht_4/inc/Machine.h

19 lines
307 B
C
Raw Normal View History

#ifndef __Machine_H
#define __Machine_H
class Motor;
class Mone;
class Mtwo;
class Machine {
private:
Motor* m1;
Motor* m2;
public:
virtual Motor* motor1() = 0;
virtual Motor* motor2() = 0;
virtual void run() = 0;
virtual void halt() = 0;
};
#endif