SWADP/Opdracht_4/inc/Machine.h
Shaquille Soekhlal 7723e68186 Opdracht 4 code en design
Co-authored-by: Aryan Lala (19097727) <A.E.Lala@student.hhs.nl>
2023-06-11 16:15:15 +02:00

19 lines
307 B
C++

#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