public IShipHull IdToRessource(string id) { UsableShipHull.TryGetValue(id, out IShipHull result); return(result); }
public void ExtractTags() { TagToHullId = UsableShipHull.SelectMany(x => x.Value.Tags.Select(tag => new { x.Key, tag })) .GroupBy(x => x.tag, x => x.Key) .ToDictionary(g => g.Key, g => g.ToList()); }