// Prueba enupal.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include "conio.h"
#include <math.h> 
#include <string>
using namespace std;

struct inventario {
		int num_manzanas;
		string mapa;
		int num_llaves;
};

struct hero {
		string nombre;
		int vidas;
		int posx;
		int posy;
		struct inventario inv;
};

void imprimir(struct hero u)
{
		cout << "\t*****" << u.nombre << "********" << endl;
		cout << "\t***** MANAZANS:" << u.inv.num_manzanas << "********" << endl;
}

int main()
{	
		string nombre;

		struct hero link;

		link.nombre = "LINK";

		link.posx = 10;
		link.posy = 10;
		link.inv.num_manzanas = 12;

		imprimir(link);

		return 0;
}