Description:
Remove some debug code.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -194,7 +194,9 | |||
|
194 | 194 | |
|
195 | 195 | this.remainingDialog = new Queue<Node<DialogOption>>(); |
|
196 | 196 | |
|
197 | #if DEBUG | |
|
197 | 198 | this.remainingDialog.Enqueue(DialogTrees.flatten(DialogTrees.testTree, this.grammar)); |
|
199 | #endif | |
|
198 | 200 | |
|
199 | 201 | //font = fontBakeResult.CreateSpriteFont(GraphicsDevice); |
|
200 | 202 | monoFont = bakedMono.CreateSpriteFont(GraphicsDevice); |
@@ -232,7 +232,6 | |||
|
232 | 232 | new_planted += 1; |
|
233 | 233 | } |
|
234 | 234 | } |
|
235 | System.Console.WriteLine(String.Format("New {0}", new_planted)); | |
|
236 | 235 | |
|
237 | 236 | int crowded_out = 0; |
|
238 | 237 | foreach (Cell cell in this.map.iterate_cells_with_neighbors(7)) |
@@ -243,7 +242,6 | |||
|
243 | 242 | crowded_out += 1; |
|
244 | 243 | } |
|
245 | 244 | } |
|
246 | System.Console.Write(String.Format("Crowded {0}", crowded_out)); | |
|
247 | 245 | |
|
248 | 246 | int trees_to_plant = this.tree_planting; |
|
249 | 247 | |
@@ -260,7 +258,6 | |||
|
260 | 258 | |
|
261 | 259 | |
|
262 | 260 | int trees_to_clear = this.tree_clearing; |
|
263 | System.Console.Write(String.Format("Found {0}; ", this.map.iterate_cells_with_neighbors(7).Where(c => c.hasTree).Count())); | |
|
264 | 261 | foreach (Cell cell in this.map.iterate_cells_with_neighbors(7).Where(c => c.hasTree)) |
|
265 | 262 | { |
|
266 | 263 | if (trees_to_clear > 0) { |
@@ -301,8 +298,6 | |||
|
301 | 298 | |
|
302 | 299 | public void update(TimeSpan deltaTime) |
|
303 | 300 | { |
|
304 | //this.Tick++; | |
|
305 | ||
|
306 | 301 | if (!this.paused) |
|
307 | 302 | { |
|
308 | 303 | this.Elapsed += deltaTime.Milliseconds; |
You need to be logged in to leave comments.
Login now