ELEC2645 (2015/16) / el14hzbm_Final_Project

Fork of N5110 by Craig Evans

Revision:
20:9a847cf7585d
Parent:
19:ba8addc061ea
Child:
21:837ccf2bb6d3
--- a/N5110.h	Thu Apr 23 18:57:52 2015 +0000
+++ b/N5110.h	Tue May 03 10:37:11 2016 +0000
@@ -313,8 +313,40 @@
     *   @param  fill - 0 transparent (w/outline), 1 filled black, 2 filled white (wo/outline)
     */
     void drawRect(int x0,int y0,int width,int height,int fill);
+    
+    /** Draw Car
+    *
+    *   This function draws a car.
+    *   @param  x0 - x-coordinate of origin (top-left)
+    *   @param  y0 - y-coordinate of origin (top-left)
+    *   @param  fill - 0 transparent (w/outline), 1 filled black, 2 filled white (wo/outline)
+    */
+    void drawCar (int x0,int y0,int fill);
 
-
+     /** Draw Heart Life
+    *
+    *   This function draws a car.
+    *   @param  x0 - x-coordinate of origin (top-left)
+    *   @param  y0 - y-coordinate of origin (top-left)
+    *   @param  fill - 0 transparent (w/outline), 1 filled black, 2 filled white (wo/outline)
+    */
+    void drawHeart (int x0,int y0,int value,int fill);
+    
+    /** Write Score Name
+    *
+    *   This function write down a score.
+    *   @param  m - x-coordinate of first-letter
+    *   @param  my - y-coordinate of first letter
+    */
+    void score(int m,int my);
+    
+    /** Write Level Name
+    *
+    *   This function write down a level.
+    *   @param  m - x-coordinate of first-letter
+    *   @param  my - y-coordinate of first letter
+    */
+    void level(int x1,int y1);
 private:
 
     void setXYAddress(int x, int y);