1
0
LearningCPP/robot.h
2022-11-18 12:33:13 +00:00

24 lines
324 B
C++

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