class19-Recursion.java

Burng new locationrow 1 col gsetcolorloc new

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: burned = Recursion.burn(g, loc); System.out.println("Trees burned: " + burned); } } } public static void waitForKeyPress(Grid g) { while (g.checkLastKeyPressed() == -1) { g.pause(100); } } }...
View Full Document

This note was uploaded on 09/14/2010 for the course CS 15-100 taught by Professor Dave during the Spring '08 term at Carnegie Mellon.

Ask a homework question - tutors are online