static void Main() { int frame = 1; while (true) { frame = -frame; Ceiling ceiling = new Ceiling(); ceiling.SetWidth(80); if (frame == 1) ceiling.Draw('_'); else ceiling.Draw('-'); Rock rock = new Rock(); rock.Draw(); PauseTillNextFrame(300); Console.Clear(); } }