using System.Collections.Generic; namespace MoonTools.ECS.Rev2 { public class Archetype { public ArchetypeSignature Signature; public ArchetypeId Id { get; private set; } public List Components = new List(); public List RowToEntity = new List(); public Dictionary ComponentToColumnIndex = new Dictionary(); public SortedDictionary Edges = new SortedDictionary(); public int Count => RowToEntity.Count; public Archetype(ArchetypeId id, ArchetypeSignature signature) { Id = id; Signature = signature; } } }