Ejemplo n.º 1
0
        static void removeLandfill(landfill l)
        {
            landfills.Remove(l);
            Rectangle r = l.area();
            for(int x=r.Left;x<r.Right;x++)
                for(int y=r.Top;y<r.Bottom;y++)
                {

                    m[x,y].landf=null;
                    m[x,y].myTile = tiles.getTile("dir");
                }
        }