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.
Diff: Sprite/Sprite.h
- Revision:
- 10:58cf89dd878c
- Parent:
- 9:96969b1c6bde
- Child:
- 14:1e6f74233e8e
--- a/Sprite/Sprite.h Wed Apr 24 10:18:45 2019 +0000 +++ b/Sprite/Sprite.h Mon May 06 10:11:42 2019 +0000 @@ -9,7 +9,7 @@ #define GRAVITY 2 /*Sprite Class*/ -//extern N5110 lcd; + class Sprite { @@ -23,9 +23,8 @@ void update(); void setBitmap(int * bitmap); -protected: //Protected as will need to be accesible by inherited classes. +protected: //Protected as will need to be accesible by child classes. Vector2D _pos; - Vector2D _velocity; int _height; int _width; int * _bitmap;