SWADP/Opdracht_1/Robot.cpp

18 lines
221 B
C++
Raw Normal View History

2023-04-25 13:15:39 +00:00
#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();
}