-player_t *create_player_from_stream(FILE *stream)
-{
- float x = 0.0f, y = 0.0f;
-
- char color[7];
- if (fscanf(stream, "%f%f%6s", &x, &y, color) == EOF) {
- throw_error(ERROR_TYPE_LIBC);
- return NULL;
- }
-
- return create_player(x, y, color_from_hexstr(color));
-}
-
-void destroy_player(player_t * player)