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:
- 14:1e6f74233e8e
- Parent:
- 10:58cf89dd878c
--- a/Sprite/Sprite.h Mon May 06 15:07:28 2019 +0000
+++ b/Sprite/Sprite.h Wed May 08 14:41:56 2019 +0000
@@ -7,9 +7,18 @@
#include "Bitmap.h"
#define GRAVITY 2
-/*Sprite Class*/
+/** Sprite Class
+
+@brief Sprite Class. Handles Sprites, their location,rendering and bitmaps.
+@version 1.0
+
+@author Joshua Davy el17jd
+
+@date April 2019
+
+*/
class Sprite {
@@ -20,7 +29,6 @@
void render(N5110 &lcd);
Vector2D get_pos();
void set_pos(Vector2D pos);
- void update();
void setBitmap(int * bitmap);
protected: //Protected as will need to be accesible by child classes.