public List <Vector2> GetCubesPositions(int index) { FigureAsset.Item item = this.GetFigureAssetItem(index); List <Vector2> list = item.GetCubesPositions(); return(list); }
private Item GetFigureAssetItem(int index) { int rotationIndex; Math.DivRem(index, this.Rotations.Count, out rotationIndex); FigureAsset.Item item = this.Rotations[rotationIndex]; return(item); }