Johnathan Chin / Mbed 2 deprecated robot_tilt_move

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Robot.h Source File

Robot.h

00001 class Robot {
00002     public:
00003     Robot();
00004     Robot(int xPos, int yPos);
00005     void setXPosition(int xPos);
00006     void setYPosition(int yPos);
00007     int getXPosition();
00008     int getYPosition();
00009     void moveForward(int numMove);
00010     void moveBack(int numMove);
00011     void moveRight(int numMove);
00012     void moveLeft(int numMove);
00013     void inputMove();
00014     void displayPosition();
00015     void draw();
00016     void erase();
00017     
00018     private:
00019     int xPosition;
00020     int yPosition;
00021 };