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: CrossyChicken/CrossyChicken.cpp
- Revision:
- 12:a0e0939a498f
- Parent:
- 11:cc5861abfca5
- Child:
- 13:cd6d2f999057
diff -r cc5861abfca5 -r a0e0939a498f CrossyChicken/CrossyChicken.cpp
--- a/CrossyChicken/CrossyChicken.cpp Wed May 13 01:34:03 2020 +0000
+++ b/CrossyChicken/CrossyChicken.cpp Wed May 13 03:04:45 2020 +0000
@@ -276,6 +276,7 @@
void drawObjects()
{
+ /*
std::vector<ObjectInfo *>::size_type it;
for(auto lane : first_level)
@@ -283,5 +284,27 @@
}
+ */
+
+
}
+void CrossyChicken::drawSprites(char obj, int x, int y, int rows, int cols)
+{
+ switch(obj)
+ {
+ case 'L':
+ graphics.drawObjs(x, y, rows, cols);
+
+ case 'R'
+
+ case 'B':
+
+ case 'N':
+
+ case 'X':
+
+
+
+}
+