54 lines
1.7 KiB
C++
54 lines
1.7 KiB
C++
/* *******************************************************************
|
|
* Includes
|
|
* ******************************************************************/
|
|
|
|
#include "BaseUnit.h"
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
/* *******************************************************************
|
|
* Defines
|
|
* ******************************************************************/
|
|
|
|
/* *******************************************************************
|
|
* Types definition
|
|
* ******************************************************************/
|
|
|
|
/* *******************************************************************
|
|
* Global variables definition
|
|
* ******************************************************************/
|
|
|
|
/* *******************************************************************
|
|
* Local variables definition
|
|
* ******************************************************************/
|
|
|
|
/* *******************************************************************
|
|
* Local prototypes declaration
|
|
* ******************************************************************/
|
|
|
|
/* *******************************************************************
|
|
* Functions definition
|
|
* ******************************************************************/
|
|
|
|
/*****************************************************************//**
|
|
*
|
|
* \brief Constructor for BaseUnit class.
|
|
*
|
|
*********************************************************************/
|
|
BaseUnit::BaseUnit(void) :
|
|
_hp(0),
|
|
_bAlive(false),
|
|
_x(0),
|
|
_y(0)
|
|
{
|
|
}
|
|
|
|
/*****************************************************************//**
|
|
*
|
|
* \brief Periodical handler for BaseUnit class.
|
|
*
|
|
*********************************************************************/
|
|
void BaseUnit::handler(void)
|
|
{
|
|
}
|