ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18zc2

Dependencies:   mbed

Revision:
5:7207c9b70108
Parent:
4:e46c295d4baf
Child:
6:b393cfe4e0a7
--- a/ROCK/Rock.cpp	Sat May 23 18:12:03 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-#include"ROCK.h"
-rock::rock()
-{
-
-}
-
-rock::~rock()
-{
-
-}
-
-void rock::init(int size,int speed)
-{
-    srand(time(null));
-    int a=rand()%84;
-    int i;
-    for(i=0;i<85;i++)
-    {
-        if(i==a)
-        {
-            _velocity.x=_a
-            _velocity.y=speed
-            }
-        }
-    
-    }
\ No newline at end of file