SWADP/Opdracht_1/Robot.cpp
Hello_User 30df0565e2 Opdracht 1 final, "begin" opdracht 2
Co-authored-by: Aryan Lala (19097727) <A.E.Lala@student.hhs.nl>
2023-04-26 14:39:59 +02:00

18 lines
223 B
C++

#include "Robot.h"
#include "Interface.h"
#include <iostream>
Robot::Robot(Interface *Pos): P(Pos){
}
Robot::~Robot(){}
void Robot::run(){
P->move(10,20);
}
void Robot::show(){
std::cout << P->x() << P->y();
}