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
Lore/Lore.h@42:ee13e1d103d8, 2019-05-08 (annotated)
- Committer:
- ikenna1
- Date:
- Wed May 08 11:18:40 2019 +0000
- Revision:
- 42:ee13e1d103d8
- Parent:
- 41:e1fa36c0492e
Change the way Lcd and Gamepad libraries are accessed for ease of documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ikenna1 | 39:7824f9080f59 | 1 | #ifndef LORE_H |
ikenna1 | 39:7824f9080f59 | 2 | #define LORE_H |
ikenna1 | 39:7824f9080f59 | 3 | |
ikenna1 | 39:7824f9080f59 | 4 | #include "mbed.h" |
ikenna1 | 39:7824f9080f59 | 5 | #include "N5110.h" |
ikenna1 | 39:7824f9080f59 | 6 | #include "Gamepad.h" |
ikenna1 | 39:7824f9080f59 | 7 | |
ikenna1 | 39:7824f9080f59 | 8 | class Lore |
ikenna1 | 39:7824f9080f59 | 9 | { |
ikenna1 | 39:7824f9080f59 | 10 | public: |
ikenna1 | 39:7824f9080f59 | 11 | Lore(); |
ikenna1 | 39:7824f9080f59 | 12 | ~Lore(); |
ikenna1 | 39:7824f9080f59 | 13 | |
ikenna1 | 42:ee13e1d103d8 | 14 | void init(N5110 *lcd, Gamepad *pad); |
ikenna1 | 42:ee13e1d103d8 | 15 | void display(int rand); |
ikenna1 | 42:ee13e1d103d8 | 16 | void seeker(); |
ikenna1 | 42:ee13e1d103d8 | 17 | void shooter(); |
ikenna1 | 42:ee13e1d103d8 | 18 | void imperion(); |
ikenna1 | 42:ee13e1d103d8 | 19 | void kestrel(); |
ikenna1 | 42:ee13e1d103d8 | 20 | void orion(); |
ikenna1 | 42:ee13e1d103d8 | 21 | void menu1(); |
ikenna1 | 42:ee13e1d103d8 | 22 | void intro(); |
ikenna1 | 41:e1fa36c0492e | 23 | |
ikenna1 | 39:7824f9080f59 | 24 | private: |
ikenna1 | 42:ee13e1d103d8 | 25 | Gamepad *_pad; |
ikenna1 | 42:ee13e1d103d8 | 26 | N5110 *_lcd; |
ikenna1 | 39:7824f9080f59 | 27 | }; |
ikenna1 | 39:7824f9080f59 | 28 | #endif |