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: GameObject/GameObject.h
- Revision:
- 11:bb36db678a6d
- Parent:
- 9:f720f5d87420
- Child:
- 14:4b05b5c2a355
diff -r da5743dfb137 -r bb36db678a6d GameObject/GameObject.h --- a/GameObject/GameObject.h Thu May 09 10:53:00 2019 +0000 +++ b/GameObject/GameObject.h Thu May 09 11:24:12 2019 +0000 @@ -5,9 +5,9 @@ #include "N5110.h" #include "Gamepad.h" -/** GameObject Class +/** StaticGameObject Class +Draws and controls the objects in the Breakout game, which are static @author Kostadin Chakarov, University of Leeds -@brief Draws and controls the objects in the Breakout game, which can either be static or non-static @date April 2019 */ @@ -42,6 +42,11 @@ Vector2D pos; /** x and y position of any game object */ }; +/** GameObject Class +Draws and controls the objects in the Breakout game, which are non-static, inherits from StaticGameObject +@author Kostadin Chakarov, University of Leeds +@date April 2019 +*/ class GameObject : public StaticGameObject {