ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
13:e114d362186d
Parent:
12:47578eb9ea73
Child:
14:88ca5b1a111a
--- a/Ship/Ship.cpp	Wed Apr 10 11:01:19 2019 +0000
+++ b/Ship/Ship.cpp	Wed Apr 10 12:04:07 2019 +0000
@@ -86,13 +86,10 @@
     return ship_pos;
 }
 
-void Ship::set_ship(int ship_width, int ship_height, int ship_xpos, int ship_ypos)
+void Ship::set_ship(int ship_width, int ship_height)
 {
     _ship_width = ship_width;
     _ship_height = ship_height;
-    _ship_xpos = ship_xpos;
-    _ship_xpos = ship_ypos;
-    
 }
 
 /****Note: if you make all the ships the same size, you could then creare a enum for them ship.[ enum class Ship {basic, devotion}; ]