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.
Dependencies: mbed
Treasure.h@2:23b20cbd3330, 2017-05-01 (annotated)
- Committer:
- weixitao
- Date:
- Mon May 01 16:37:53 2017 +0000
- Revision:
- 2:23b20cbd3330
- Parent:
- 0:1465fd20e75b
four ares and win to welcome
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| weixitao | 0:1465fd20e75b | 1 | #ifndef TREASURE_H |
| weixitao | 0:1465fd20e75b | 2 | #define TREASURE_H |
| weixitao | 0:1465fd20e75b | 3 | |
| weixitao | 0:1465fd20e75b | 4 | #include "mbed.h" |
| weixitao | 0:1465fd20e75b | 5 | #include "N5110.h" |
| weixitao | 0:1465fd20e75b | 6 | |
| weixitao | 0:1465fd20e75b | 7 | class Treasure |
| weixitao | 0:1465fd20e75b | 8 | { |
| weixitao | 0:1465fd20e75b | 9 | public : |
| weixitao | 0:1465fd20e75b | 10 | |
| weixitao | 0:1465fd20e75b | 11 | void treasure_place(); |
| weixitao | 0:1465fd20e75b | 12 | void treasure_show(); |
| weixitao | 0:1465fd20e75b | 13 | |
| weixitao | 0:1465fd20e75b | 14 | private: |
| weixitao | 0:1465fd20e75b | 15 | int TreasureX; |
| weixitao | 0:1465fd20e75b | 16 | int TreasureY; |
| weixitao | 0:1465fd20e75b | 17 | |
| weixitao | 0:1465fd20e75b | 18 | }; |
| weixitao | 0:1465fd20e75b | 19 | |
| weixitao | 0:1465fd20e75b | 20 | |
| weixitao | 0:1465fd20e75b | 21 | #endif |