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.h
- Revision:
- 18:6be4c3c94a3d
- Parent:
- 17:67dbdfcdcec2
- Child:
- 19:6d9721ffc078
diff -r 67dbdfcdcec2 -r 6be4c3c94a3d CrossyChicken/CrossyChicken.h --- a/CrossyChicken/CrossyChicken.h Thu May 14 01:07:27 2020 +0000 +++ b/CrossyChicken/CrossyChicken.h Thu May 14 03:53:16 2020 +0000 @@ -32,12 +32,18 @@ Level *local_level; int row_number; + int grid_width; // screen width in grid units + std::vector<Background> roads; + std::vector<std::tr1::shared_ptr<Background>()); + Water water[22]; + + /* std::vector<Water> row_water_one; // multiple water objects std::vector<Water> row_water_two; // multiple water objects std::vector<Water> row_water_three; // multiple water objects std::vector<Water>::size_type it; // iterator used to fill the vector - + */ CrossyChicken(Level *level); public: