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: Tank/Tank.h
- Revision:
- 15:fa5282fcd134
- Parent:
- 13:feadff02d3f7
- Child:
- 16:a2c945279b79
--- a/Tank/Tank.h Wed Apr 17 17:24:02 2019 +0000 +++ b/Tank/Tank.h Fri Apr 19 15:58:51 2019 +0000 @@ -21,8 +21,7 @@ void set_position(int x, int y); void set_movement_limits(int left, int right); void set_health(int h); - void set_speed(int s); - void set_angle(float angle); + void set_speed(int s); //Other Methods void move_position(int d); void lose_health(); @@ -37,7 +36,6 @@ int _left_lim; int _right_lim; int _move_counter; - int _angle; int _speed; int _hitbox[40]; int _health;