summaryrefslogtreecommitdiff
path: root/BaseUnit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'BaseUnit.cpp')
-rw-r--r--BaseUnit.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/BaseUnit.cpp b/BaseUnit.cpp
index ff431b5..8de5a05 100644
--- a/BaseUnit.cpp
+++ b/BaseUnit.cpp
@@ -3,6 +3,8 @@
* ******************************************************************/
#include "BaseUnit.h"
+#include <stdbool.h>
+#include <stdint.h>
/* *******************************************************************
* Defines
@@ -33,7 +35,19 @@
* \brief Constructor for BaseUnit class.
*
*********************************************************************/
-BaseUnit::BaseUnit(void)
+BaseUnit::BaseUnit(void) :
+_hp(0),
+_bAlive(false),
+_x(0),
+_y(0)
{
}
+/*****************************************************************//**
+ *
+ * \brief Periodical handler for BaseUnit class.
+ *
+ *********************************************************************/
+void BaseUnit::handler(void)
+{
+}