public void Initialize(int _id, string playerData) { id = _id; //username = playerData; jsonInventory = playerData; Dictionary<string, Item> items = _loadControl.LoadInventory(playerData); _inventoryControl.SpawnPlayer(items, this); health = maxHealth; }