Joshua O'hara 201291390

Dependencies:   mbed

Revision:
6:5bea67cc96f9
Parent:
5:e5bb95fb308b
Child:
7:06a2558155f0
--- a/Ship/Ship.cpp	Sun Mar 22 19:06:39 2020 +0000
+++ b/Ship/Ship.cpp	Mon Mar 23 15:20:59 2020 +0000
@@ -1,11 +1,11 @@
 #include "Ship.h"
 
-void Ship::init(int y, int height, int width)
+void Ship::init(int height, int width)
 {
     X = WIDTH/2 + width/2;
     Y = HEIGHT - height;
-    height = Height;
-    width = Width;
+    Height = height;
+    Width = width;
     Speed = 0.5;
 }