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
Alien/Alien.h@6:5bea67cc96f9, 2020-03-23 (annotated)
- Committer:
- josh_ohara
- Date:
- Mon Mar 23 15:20:59 2020 +0000
- Revision:
- 6:5bea67cc96f9
- Parent:
- 2:c2316b659b97
- Child:
- 7:06a2558155f0
Beginning engine contruction
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| josh_ohara | 2:c2316b659b97 | 1 | |
| josh_ohara | 2:c2316b659b97 | 2 | #include Pad.h |
| josh_ohara | 2:c2316b659b97 | 3 | #include mbed.h |
| josh_ohara | 2:c2316b659b97 | 4 | #include N5110.h |
| josh_ohara | 2:c2316b659b97 | 5 | #include Gamepad.h |
| josh_ohara | 2:c2316b659b97 | 6 | |
| josh_ohara | 2:c2316b659b97 | 7 | class Alien |
| josh_ohara | 2:c2316b659b97 | 8 | { |
| josh_ohara | 2:c2316b659b97 | 9 | |
| josh_ohara | 2:c2316b659b97 | 10 | public: |
| josh_ohara | 6:5bea67cc96f9 | 11 | void init(int y, int size); |
| josh_ohara | 2:c2316b659b97 | 12 | void draw(N5110 &lcd); |
| josh_ohara | 2:c2316b659b97 | 13 | void get_position(); |
| josh_ohara | 6:5bea67cc96f9 | 14 | void update(); |
| josh_ohara | 2:c2316b659b97 | 15 | |
| josh_ohara | 2:c2316b659b97 | 16 | public: |
| josh_ohara | 6:5bea67cc96f9 | 17 | int X; |
| josh_ohara | 6:5bea67cc96f9 | 18 | int Y; |
| josh_ohara | 6:5bea67cc96f9 | 19 | int Speed; |
| josh_ohara | 6:5bea67cc96f9 | 20 | int Size; |
| josh_ohara | 2:c2316b659b97 | 21 | }; |