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.
Diff: Explosion/Explosion.h
- Revision:
- 29:e96d91f1d39c
- Parent:
- 27:8bb2bd97c319
- Child:
- 40:71f947254fda
--- a/Explosion/Explosion.h Wed May 13 23:07:52 2020 +0000 +++ b/Explosion/Explosion.h Thu May 14 14:19:24 2020 +0000 @@ -31,8 +31,10 @@ /** Destructor */ ~Explosion(); - /** Initalises explosion */ - void init(); + /** Initalises explosion + * @param destroyed_position @details Vector2D of destoyed xy pos + */ + void init(Vector2D destroyed_position); /** Draws the explosion * @param lcd @details N5110 object @@ -41,11 +43,6 @@ // Accessors and mutators -------------------------------------------------- - /** Set position of the explosion - * @param destroyed_position @details xy position of destroyed object - */ - void set_explosion_posistion(Vector2D destroyed_position); - /** Gets the explosion radius * @returns explosion_radius_ */