complete
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Fork of my2036lab2robotLCD by
Diff: Robot.h
- Revision:
- 0:343fbeea672c
- Child:
- 1:5a1311f0ea06
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Robot.h Fri Jan 23 13:47:32 2015 +0000 @@ -0,0 +1,28 @@ +class Robot +{ +public: + void draw() { +//needs code here + } + void erase() { +//needs code here + } + void moveForward(int distance) { +//needs code here + } + void moveBackward(int distance) { +//needs code here + } + void moveLeft(int distance) { +//needs code here + } + void moveRight(int distance) { +//needs code here + } +//needs code to init x,y + Robot() { + } +private: + int xPosition; + int yPosition; +};