Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Point.h@0:ded79d89abdf, 2015-05-01 (annotated)
- Committer:
- tyleralt
- Date:
- Fri May 01 05:33:50 2015 +0000
- Revision:
- 0:ded79d89abdf
- Child:
- 5:d7d16cb9c974
geting Frist crossing and second not working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tyleralt | 0:ded79d89abdf | 1 | #ifndef POINT |
tyleralt | 0:ded79d89abdf | 2 | #define POINT |
tyleralt | 0:ded79d89abdf | 3 | class Point{ |
tyleralt | 0:ded79d89abdf | 4 | |
tyleralt | 0:ded79d89abdf | 5 | int offAngles [8]; |
tyleralt | 0:ded79d89abdf | 6 | int positionRadian, positionHeight, positionDistance; |
tyleralt | 0:ded79d89abdf | 7 | public : |
tyleralt | 0:ded79d89abdf | 8 | Point (); |
tyleralt | 0:ded79d89abdf | 9 | Point (int , int , int ); |
tyleralt | 0:ded79d89abdf | 10 | int getArraySlice(void); |
tyleralt | 0:ded79d89abdf | 11 | char getIdentifyingChar(void); |
tyleralt | 0:ded79d89abdf | 12 | int getPositionDistance(void); |
tyleralt | 0:ded79d89abdf | 13 | void moveUp(); |
tyleralt | 0:ded79d89abdf | 14 | void moveDown(); |
tyleralt | 0:ded79d89abdf | 15 | void rotateRight(); |
tyleralt | 0:ded79d89abdf | 16 | void rotateLeft(); |
tyleralt | 0:ded79d89abdf | 17 | void moveIn(); |
tyleralt | 0:ded79d89abdf | 18 | void moveOut(); |
tyleralt | 0:ded79d89abdf | 19 | }; |
tyleralt | 0:ded79d89abdf | 20 | #endif |