ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

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) {