diff --git a/robot.h b/robot.h index c540dc2..facf5af 100644 --- a/robot.h +++ b/robot.h @@ -2,11 +2,10 @@ #define ROBOT_HEADER #include -using string = std::string; class robot { private: - const string _name; + const std::string _name; int _north; int _east; int _steps; @@ -15,9 +14,9 @@ public: void move_east(); void move_south(); void move_west(); - int north(); - int east(); - int travelled(); + int const north(); + int const east(); + int const travelled(); } #endif