Return the type of player for the given player object.
get_player_name (const player_object *player)
|player ||The player in question.|
- The name for the player object.
Definition at line 184 of file player.c.
References COMPUTER, and HUMAN.
g_return_val_if_fail (player != NULL, 0);
g_return_val_if_fail (player->name != NULL, 0);
(player->type == HUMAN || player->type == COMPUTER, 0);