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.
gameEngine/inc/Spacecraft.h@0:17bdfb0e7069, 2020-07-08 (annotated)
- Committer:
- ahmeou
- Date:
- Wed Jul 08 16:35:55 2020 +0000
- Revision:
- 0:17bdfb0e7069
- Child:
- 1:25f13b341b11
qualified name not allowed error happened after working fine; reason: unknown
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ahmeou | 0:17bdfb0e7069 | 1 | #ifndef SPACECRAFT_H |
| ahmeou | 0:17bdfb0e7069 | 2 | #define SPACECRAFT_H |
| ahmeou | 0:17bdfb0e7069 | 3 | #include "game.h" |
| ahmeou | 0:17bdfb0e7069 | 4 | |
| ahmeou | 0:17bdfb0e7069 | 5 | class Spacecraft: public Sprite{ |
| ahmeou | 0:17bdfb0e7069 | 6 | private: |
| ahmeou | 0:17bdfb0e7069 | 7 | bool blinking; |
| ahmeou | 0:17bdfb0e7069 | 8 | |
| ahmeou | 0:17bdfb0e7069 | 9 | public: |
| ahmeou | 0:17bdfb0e7069 | 10 | Spacecraft(); |
| ahmeou | 0:17bdfb0e7069 | 11 | void moveLeft(); |
| ahmeou | 0:17bdfb0e7069 | 12 | void moveRight(); |
| ahmeou | 0:17bdfb0e7069 | 13 | bool isBlinking(); |
| ahmeou | 0:17bdfb0e7069 | 14 | void blink(); |
| ahmeou | 0:17bdfb0e7069 | 15 | }; |
| ahmeou | 0:17bdfb0e7069 | 16 | #endif |