ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18zc2

Dependencies:   mbed

Revision:
11:1eb7f53bd2ec
Parent:
10:f5a48bbe07b8
--- a/Bullet/Bullet.h	Fri May 29 03:38:20 2020 +0000
+++ b/Bullet/Bullet.h	Fri May 29 04:12:32 2020 +0000
@@ -17,12 +17,18 @@
 public:
     /**inialisation */
     void init(int x,int size,int speed,int height);              //initial datas of bullet
-    void draw(N5110 &lcd);                                       //draw a bullet
-    void update(N5110 &lcd);                                     //ubdate bullet position
-    void set_velocity(Vector2D v);                               //velocity setting
-    Vector2D get_velocity();                                     //speed data reading
-    Vector2D get_pos();                                          //position reading
-    void set_pos(Vector2D p);                                    //position setting
+    /**draw a bullet*/                                                   
+    void draw(N5110 &lcd);     
+    /**update data*/                                   
+    void update(N5110 &lcd);                                     //update bullet position
+    /** set velocity    */                           
+    void set_velocity(Vector2D v);
+    /**speed data reading */                              
+    Vector2D get_velocity();   
+    /**position reading */                                  
+    Vector2D get_pos();
+    /**position setting */                                        
+    void set_pos(Vector2D p);                                    
     
 private:
     // all parameters about bullet