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
Fork of el17dg by
Diff: Models/models.h
- Revision:
- 27:f05f4e738ba9
- Parent:
- 25:749f1efc31fc
- Child:
- 28:35af3843de8f
--- a/Models/models.h Sat Apr 06 20:13:33 2019 +0000 +++ b/Models/models.h Mon Apr 08 14:41:57 2019 +0000 @@ -34,10 +34,18 @@ const int* data; }; +struct SpriteOnTop { + SpriteOnTop(int _width, int _height, const int* _data) : width(_width), height(_height), data(_data) {} + int width; + int height; + const int* data; +}; + extern const Sprite enemy_sprite; extern const Sprite enemy_half_exploded_sprite; extern const Sprite enemy_exploded_sprite; extern const Sprite small_star_sprite; extern const Sprite medium_star_sprite; +extern const SpriteOnTop player_spaceship1_sprite; #endif \ No newline at end of file