1
0
LearningCPP/robot.h
2022-11-27 16:37:54 +00:00

23 lines
319 B
C++

#ifndef ROBOT_HEADER
#define ROBOT_HEADER
#include <string>
class robot {
private:
const std::string _name;
int _north;
int _east;
int _steps;
public:
void move_north();
void move_east();
void move_south();
void move_west();
int const north();
int const east();
int const travelled();
}
#endif