예제 #1
0
        public static void Remove(int index, Aligned <Gfx2D> tiles)
        {
            Gfx2D g = tiles[index];

            Codes.Remove(g);
            tiles.RemoveAt(index);
        }
예제 #2
0
        public static void Swap(int index, Aligned <Gfx2D> From, Aligned <Gfx2D> To)
        {
            Gfx2D g = From[index];

            From.RemoveAt(index);
            To.Add(g);
            Sort();
        }