9 NULL_PTR_HANDLER_RETURN(memory_pool, NULL,
"Player",
"Memory pool is NULL");
12 NULL_PTR_HANDLER_RETURN(player, NULL,
"Player",
"Failed to allocate memory for player");
void set_character_stats(character_t *character, int strength, int intelligence, int dexterity, int constitution)
Sets the stats for a character.
character_t * init_character(memory_pool_t *memory_pool, const character_type_t type, const char *name)
Initializes a new character.
void set_skill_points(character_t *character, int skill_points)
Sets the skill points for a character.
void set_level(character_t *character, int level)
Sets the level for a character.
void set_initial_xp(character_t *character, int xp)
sets initial xp for a character
character_t * create_new_player(memory_pool_t *memory_pool)
Creates and initializes a new player character.
Exposes functions for working with the player.