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
Fork of el17dg by
Diff: game/gameobject.h
- Revision:
- 31:becb8f6bf7b7
- Parent:
- 29:579e00b7f118
- Child:
- 33:c623c6d5ed16
--- a/game/gameobject.h Tue Apr 16 21:16:33 2019 +0000
+++ b/game/gameobject.h Tue Apr 23 18:18:57 2019 +0000
@@ -4,15 +4,16 @@
#include "geometry.h"
/////////////////////////////////////////////////////////////////////
-/** GameObject Class
- * @brief A library for a pointing the positions of x and y int pos.
+/**
+ * GameObject Class
+ * @brief Base class for all objects in the game world.
* @author Dmitrijs Griskovs
* @date 15/04/2019
*/
class GameObject {
public:
-/** @brief This function assigns the position to the objects (sprites), using
- * using Point structure.
+/**
+ * @brief Activates the object at the given postion.
* @param spawn_pos sets position of x and y into pos (Point).
*/
void spawn(Point spawn_pos) {
