public static MyTestEntity CreateEntity() { var entity = new MyTestEntity(); entity.Initialize(0, CID.TotalComponents, new Stack <IComponent> [CID.TotalComponents]); return(entity); }