Race around the city collecting the flags while avoiding those that stand in the way of your mission. Make no mistake you will need to be quick to outwit your opponents, they are smart and will try to box you in. I wrote this game to prove that writing a game with scrolling scenery is possible even with the limited 6kB of RAM available. I had to compromise sound effects for features, I wanted multiple opponents, I wanted to be able to drop smoke bombs to trap the opponents but all this required memory so the sound effects had to take a back seat.

Dependencies:   mbed

Revision:
0:d85c449aca6d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GameEngine/ImageFrame.h	Wed Jan 28 03:26:07 2015 +0000
@@ -0,0 +1,32 @@
+#ifndef __IMAGEFRAME_H__
+#define __IMAGEFRAME_H__
+
+class ImageFrame
+{
+    public:
+        ImageFrame(const Bitmap2bpp &bmp, uint8_t x, uint8_t y, uint8_t width, uint8_t height) :
+            _bmp(bmp),
+            _x(x),
+            _y(y),
+            _width(width),
+            _height(height)            
+        {            
+        }
+        
+        inline const Bitmap2bpp& getBitmap() const { return _bmp; };
+        inline uint8_t getX() const { return _x; }
+        inline uint8_t getY() const { return _y; }
+        inline uint8_t getWidth() const { return _width; }
+        inline uint8_t getHeight() const { return _height; }
+        
+    private:
+        const Bitmap2bpp &_bmp;
+        uint8_t _x;
+        uint8_t _y;
+        uint8_t _width;
+        uint8_t _height;
+        
+};
+
+#endif //__IMAGEFRAME_H__
+