Added screen-capture functionality (press D). Added safeguards to prevent NPE when player.txt, DetailedInfo.txt do not exist. Removed these files from source control.

This commit is contained in:
Woody Folsom
2012-03-16 13:31:15 -04:00
parent 7ec3ac5a9d
commit 1cd007e798
7 changed files with 78 additions and 304 deletions

View File

@@ -94,7 +94,8 @@ public class GamePlay implements Serializable {
gp = (GamePlay) in.readObject();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
//e.printStackTrace();
System.out.println("Unable to read from GamePlay file: " + fileName + ", initializing a new GamePlay instance.");
}
return gp;
}