@Override
	protected void updateGameObjects() {
		boolean gameEventsGotten = false;
		try {
			gameEventsGotten = executeGameEvents(GameConnection.getInstance().getGameEvents(gameID, userID));
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		HashMap<String, GameObjectInformation> clientPlayerObjects = new HashMap<>();
		if(!gameEventsGotten){
			player = gameObjects.get("PLAYER" + userID);
			clientPlayerObjects.put("PLAYER" + userID, player.getInformation());
		}
		try {
			clientPlayerObjects = GameConnection.getInstance().updateGameObjects(userID, getActions(), clientPlayerObjects, gameID);
			Iterator<Entry<String, GameObjectInformation>> it = clientPlayerObjects.entrySet().iterator();
			while(it.hasNext()){
				Entry<String, GameObjectInformation> entry = it.next();
				gameObjects.get(entry.getKey()).setGameInformation(entry.getValue());
			}
		} catch (SocketTimeoutException e) {
			e.printStackTrace();
		} catch (UnknownHostException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		for (Team team : playmode.getTeams()) {
			for (User user : team.getUser()) {
				animateGameObject(gameObjects.get("PLAYER" + user.getID()));
			}
		}
	}