ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

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