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: Objects/Object.h
- Revision:
- 46:e39abe665271
- Parent:
- 43:2cd1cfe07770
- Child:
- 48:8ccfc74b60a5
diff -r e40c4f89ed7c -r e39abe665271 Objects/Object.h
--- a/Objects/Object.h Fri May 22 19:12:20 2020 +0000
+++ b/Objects/Object.h Sat May 23 02:55:16 2020 +0000
@@ -35,6 +35,8 @@
int grid;
int size;
int speed;
+ float width;
+ float height;
int screenWidth;
int screenHeight;
@@ -48,6 +50,7 @@
void setSeperation(int seperation);
void setSprite(char type);
void determineVehicleRecParamaters(char c);
+ void updateRect(int x, int y);
void createRect(int x, int y);
void determineLogRecParamaters(char c);
void setDir(int dir);