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: RosenEngine/RosenEngine.cpp
- Revision:
- 49:aa204bf7ee2e
- Parent:
- 45:fe5fc85a5c73
- Child:
- 52:29772e31a620
diff -r dd529a86b5bc -r aa204bf7ee2e RosenEngine/RosenEngine.cpp --- a/RosenEngine/RosenEngine.cpp Thu May 09 04:33:23 2019 +0000 +++ b/RosenEngine/RosenEngine.cpp Thu May 09 05:59:31 2019 +0000 @@ -243,24 +243,6 @@ return xcol; } -void RosenEngine::test() -{ - bool test; - test = check_collision(5,5,5,5,5,5,5,5); - if (test == false) { - printf("fail\n"); - } else { - printf("pass\n"); - } - test = check_collision(0,0,1,1,24,24,1,1); - if (test == true) { - printf("fail\n"); - } else { - printf("pass\n"); - } -} -// make function resemble test - void RosenEngine::seeker_ship_collision(Gamepad &pad) { bool col1,col2,col3;