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:
- 13:cd6d2f999057
- Parent:
- 12:a0e0939a498f
- Child:
- 15:b15bf9357cd9
diff -r a0e0939a498f -r cd6d2f999057 CrossyChicken/CrossyChicken.cpp
--- a/CrossyChicken/CrossyChicken.cpp Wed May 13 03:04:45 2020 +0000
+++ b/CrossyChicken/CrossyChicken.cpp Wed May 13 03:59:27 2020 +0000
@@ -4,6 +4,7 @@
#include <vector>
#include <stdio.h>
#include <cstddef>
+#include "Vehicle.h"
// start from the top (height)
Gamepad gamepad;
@@ -273,38 +274,3 @@
return true;
}
}
-
-void drawObjects()
-{
- /*
- std::vector<ObjectInfo *>::size_type it;
-
- for(auto lane : first_level)
- {
-
-
- }
- */
-
-
-}
-
-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':
-
-
-
-}
-