# HG changeset patch # User alys # Date 2021-02-15 04:24:41 # Node ID 12d5ceab1b50be3fe051c4f3a0a388b412c1d77f # Parent 4f41bd695964c1c946db9b0f16ee2f4f16618e65 Remove some debug code. diff --git a/isometric-park-fna/FNAGame.cs b/isometric-park-fna/FNAGame.cs --- a/isometric-park-fna/FNAGame.cs +++ b/isometric-park-fna/FNAGame.cs @@ -194,7 +194,9 @@ this.remainingDialog = new Queue>(); +#if DEBUG this.remainingDialog.Enqueue(DialogTrees.flatten(DialogTrees.testTree, this.grammar)); +#endif //font = fontBakeResult.CreateSpriteFont(GraphicsDevice); monoFont = bakedMono.CreateSpriteFont(GraphicsDevice); diff --git a/isometric-park-fna/Simulation.cs b/isometric-park-fna/Simulation.cs --- a/isometric-park-fna/Simulation.cs +++ b/isometric-park-fna/Simulation.cs @@ -232,7 +232,6 @@ new_planted += 1; } } - System.Console.WriteLine(String.Format("New {0}", new_planted)); int crowded_out = 0; foreach (Cell cell in this.map.iterate_cells_with_neighbors(7)) @@ -243,7 +242,6 @@ crowded_out += 1; } } - System.Console.Write(String.Format("Crowded {0}", crowded_out)); int trees_to_plant = this.tree_planting; @@ -260,7 +258,6 @@ int trees_to_clear = this.tree_clearing; - System.Console.Write(String.Format("Found {0}; ", this.map.iterate_cells_with_neighbors(7).Where(c => c.hasTree).Count())); foreach (Cell cell in this.map.iterate_cells_with_neighbors(7).Where(c => c.hasTree)) { if (trees_to_clear > 0) { @@ -301,8 +298,6 @@ public void update(TimeSpan deltaTime) { - //this.Tick++; - if (!this.paused) { this.Elapsed += deltaTime.Milliseconds;