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@0:1465fd20e75b, 2017-04-26 (annotated)
- Committer:
- weixitao
- Date:
- Wed Apr 26 16:38:33 2017 +0000
- Revision:
- 0:1465fd20e75b
four holes and treasure and man
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 |