void GenerateChleine() { SurfLab surf1 = new SurfLab(); SurfLab surf2 = new SurfLab(); SurfLab surf3 = new SurfLab(); SurfLab surf4 = new SurfLab(); SurfLab surf5 = new SurfLab(); SurfLab surf6 = new SurfLab(); SurfLab surf7 = new SurfLab(); SurfLab surf8 = new SurfLab(); SurfLab surf9 = new SurfLab(); }
static void Main() { SurfLab testLab = new SurfLab(); testLab.x = 20; testLab.y = 20; testLab.GenerateSimpleLab(); testLab.DrawSimpleLab(); Player pl = new Player(); pl.currentSurface = "testLab"; Console.ReadKey(); }