Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: ROCK/Rock.cpp
- Revision:
- 5:7207c9b70108
- Parent:
- 4:e46c295d4baf
- Child:
- 6:b393cfe4e0a7
diff -r e46c295d4baf -r 7207c9b70108 ROCK/Rock.cpp
--- 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