Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
29:e96d91f1d39c
Parent:
27:8bb2bd97c319
Child:
40:71f947254fda
--- a/Explosion/Explosion.h	Wed May 13 23:07:52 2020 +0000
+++ b/Explosion/Explosion.h	Thu May 14 14:19:24 2020 +0000
@@ -31,8 +31,10 @@
         /** Destructor */
         ~Explosion();
         
-        /** Initalises explosion */
-        void init();
+        /** Initalises explosion 
+         * @param destroyed_position @details Vector2D of destoyed xy pos
+         */
+        void init(Vector2D destroyed_position);
     
         /** Draws the explosion 
          * @param lcd @details N5110 object
@@ -41,11 +43,6 @@
     
     // Accessors and mutators --------------------------------------------------
         
-        /** Set position of the explosion
-         * @param destroyed_position @details xy position of destroyed object
-         */
-        void set_explosion_posistion(Vector2D destroyed_position);
-        
         /** Gets the explosion radius
          * @returns explosion_radius_
          */