SWADP/Opdracht_1/Robot.cpp

18 lines
223 B
C++
Raw Permalink Normal View History

2023-04-25 13:15:39 +00:00
#include "Robot.h"
#include "Interface.h"
2023-04-25 13:15:39 +00:00
#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();
}