Albert Tan Mulligan Submission
Dependencies: mbed
Diff: main.cpp
- Revision:
- 11:e60b40963095
- Parent:
- 10:71ced616a64f
- Child:
- 12:c557b6c9b17a
--- a/main.cpp Sun May 24 21:20:40 2020 +0000 +++ b/main.cpp Sun May 24 21:21:26 2020 +0000 @@ -232,3 +232,14 @@ return; } +void reset(){ + score = 0; + while(enemies.size()>=1){ + enemies.pop_back(); + } + while(shots.size()>=1){ + shots.pop_back(); + } + p1.reset(); + return; + } \ No newline at end of file