Removed some unused functions from the game.java.