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: BreakoutEngine/BreakoutEngine.cpp
- Revision:
- 99:d8f1570faa05
- Parent:
- 94:8fa117200f6b
- Child:
- 105:4e7585d8e5e2
--- a/BreakoutEngine/BreakoutEngine.cpp Tue May 07 15:54:04 2019 +0000
+++ b/BreakoutEngine/BreakoutEngine.cpp Tue May 07 16:56:39 2019 +0000
@@ -466,9 +466,14 @@
_multiplier ++;
}
-void BreakoutEngine::set_mult_zero()
+int BreakoutEngine::get_mult()
{
- _multiplier = 0;
+ return _multiplier;
+}
+
+void BreakoutEngine::set_mult_one()
+{
+ _multiplier = 1;
}
void BreakoutEngine::inc_index()