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.
Fork of scoreLight_Advanced by
Diff: blobConfig.cpp
- Revision:
- 25:74cb85b85fd2
- Parent:
- 22:d87317d7ca91
- Child:
- 27:1ce994629ffc
diff -r 4e52031a495b -r 74cb85b85fd2 blobConfig.cpp
--- a/blobConfig.cpp Mon Jun 18 08:00:57 2012 +0000
+++ b/blobConfig.cpp Mon Jun 18 11:37:00 2012 +0000
@@ -163,6 +163,10 @@
for (int i=0; i<blobArray.size(); i++) blobArray[i]->render = false;
}
+void blobConfig::allSetColor(unsigned char c) {
+ for (int i=0; i<blobArray.size(); i++) blobArray[i]->setColor(c);
+ }
+
void blobConfig::update() { // update dynamics of the blob
for (int i=0; i<blobArray.size(); i++) {
if (blobArray[i]->standByMode==false) blobArray[i]->update();
