Beispiel #1
0
        private void AddRow(int i, string line)
        {
            var position = new Vector2(Position, i);

            var cubeRow = new CubeRow(position, line);

            CubeRows.Add(i, cubeRow);
        }
Beispiel #2
0
        private CubeRow GetRow(int i)
        {
            if (!CubeRows.ContainsKey(i))
            {
                var position = new Vector2(Position, i);

                var cubeRow = new CubeRow(position);

                CubeRows.Add(i, cubeRow);
            }

            return(CubeRows[i]);
        }