Initial publish

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revision:
29:579e00b7f118
Parent:
28:35af3843de8f
Child:
31:becb8f6bf7b7
--- a/game/gameobject.h	Wed Apr 10 15:42:10 2019 +0000
+++ b/game/gameobject.h	Mon Apr 15 12:59:51 2019 +0000
@@ -4,10 +4,17 @@
 #include "geometry.h"
 
 /////////////////////////////////////////////////////////////////////
+/** GameObject Class
+ * @brief A library for a pointing the positions of x and y int pos.
+ * @author Dmitrijs Griskovs
+ * @date 15/04/2019
+ */
 class GameObject {
 public:
-/**This function assigns the position to the obejsts (sprites)
-  */
+/** @brief This function assigns the position to the objects (sprites), using 
+ * using Point structure.
+ * @param spawn_pos sets position of x and y into pos (Point).
+ */
     void spawn(Point spawn_pos) {
         pos = spawn_pos;
         active = true;
@@ -15,5 +22,4 @@
     Point pos;
     bool active;
 };
-
 #endif
\ No newline at end of file