/* ************************************** * Includes * * **************************************/ #include "Player.h" #include /* ************************************** * Defines * * **************************************/ /* ************************************** * Structs and enums * * **************************************/ /* ************************************** * Local variables * * **************************************/ /* ************************************** * Functions definition * * **************************************/ /*****************************************************************//** * * \brief Constructor for Player class. * *********************************************************************/ Player::Player(const char* const strPlayerName) { if (strPlayerName != NULL) { strncpy(_name, strPlayerName, MAX_NAME_LENGTH); } else { /* Undefined player name. */ } }