SWADP/Opdracht_1/Robot.cpp
2023-04-25 15:15:39 +02:00

18 lines
221 B
C++

#include "Robot.h"
#include "Positie.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();
}