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
Revision 12:1f1907ebebeb, committed 2020-05-27
- Comitter:
- MatisRequis
- Date:
- Wed May 27 05:53:03 2020 +0000
- Parent:
- 11:b6698572e551
- Commit message:
- Final Submission. I have read and agreed with Statement of Academic Integrity
Changed in this revision
| Hero/Hero.cpp | Show annotated file Show diff for this revision Revisions of this file |
| TempestEngine/TempestEngine.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Hero/Hero.cpp Wed May 27 05:44:34 2020 +0000
+++ b/Hero/Hero.cpp Wed May 27 05:53:03 2020 +0000
@@ -13,7 +13,7 @@
_column = column;
}
-//draws the hero depending on the column
+//draws the hero
void Hero::draw(N5110 &lcd) {
Vector2D xypos = getxy();
@@ -21,7 +21,7 @@
_x = xypos.x;
_y = xypos.y;
- changes the orientation of the hero depending on the current column
+ //changes the orientation of the hero depending on the current column
if (_column < 3 && _column >= 0) {
lcd.drawRect(_x+4, _y, 6, 2, FILL_BLACK);
lcd.drawLine(_x+2, _y+1, _x+11, _y+1, 1);
--- a/TempestEngine/TempestEngine.cpp Wed May 27 05:44:34 2020 +0000
+++ b/TempestEngine/TempestEngine.cpp Wed May 27 05:53:03 2020 +0000
@@ -14,7 +14,7 @@
_alienspeed = 6;
_score = 0;
_herolives = 3;
- _shooting_speed = 5
+ _shooting_speed = 5;
}
//draws all the elemnts