
Joshua O'hara 201291390
Dependencies: mbed
Diff: Cover/Cover.cpp
- Revision:
- 39:5d4277548303
- Parent:
- 31:27c938ec2a11
--- a/Cover/Cover.cpp Mon May 25 15:25:14 2020 +0000 +++ b/Cover/Cover.cpp Mon May 25 16:27:29 2020 +0000 @@ -47,10 +47,10 @@ void Cover::set_life(int i, bool x) { - _alien_cover[i].set_life(x); //set the life variable of rock i in the cover + _alien_cover[i].set_life(x); //set the life variable of rock i in the cover } bool Cover::get_life(int i) { - return _alien_cover[i].get_life(); //return the life value of rock i in the cover + return _alien_cover[i].get_life(); //return the life value of rock i in the cover } \ No newline at end of file