protected void setMyGameData() { myGameData = myUserManager.getGame(myUserName, myGame.getName()); }
/** * Constructor for GameSaver. * * @param user to whose file we should save the data * @param game the game that will provide the data */ public GameSaver(String userName, IArcadeGame game) { setMyGame(game); myUserManager = UserManager.getInstance(); setUserInfo(userName); }