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: Collision/Collision.cpp
- Revision:
- 12:009895f6b6e4
- Parent:
- 11:494cc44777fe
- Child:
- 13:eb60628db8bf
--- a/Collision/Collision.cpp Mon May 11 09:09:31 2020 +0000
+++ b/Collision/Collision.cpp Mon May 11 14:43:16 2020 +0000
@@ -57,7 +57,7 @@
void Collision::draw(N5110 &lcd)
{
if(_health > 0)
- lcd.drawRect(1,1,_health,2,FILL_TRANSPARENT);
+ lcd.drawRect(1,1,_health*2,3,FILL_BLACK);
}
int Collision::get_health()