monkey-island/src/fr/eseo/game/model/Island.java
public Pirate removePirate(Integer id) {
		Pirate pirate = this.pirates.get(id);
		if (pirate != null) {
			pirate.getCell().setCharacter(null);
			this.notifyClients(CommandEnum.REMOVE_PIRATE, pirate);
		}
		return pirate;
	}
/**
	 * Remove the pirate on death or on disconnection.
	 * 
	 * @param id
	 *            Id of the pirate.
	 * @return pirate The deleted pirate.
	 */
Remove the pirate on death or on disconnection.

@param id
Id of the pirate.
@return pirate The deleted pirate.
Remove the pirate on death or on disconnection . @param id Id of the pirate . @return pirate The deleted pirate .
public Pirate removePirate(Integer id) {
		Pirate pirate = this.pirates.get(id);
		if (pirate != null) {
			pirate.getCell().setCharacter(null);
			this.notifyClients(CommandEnum.REMOVE_PIRATE, pirate);
		}
		return pirate;
	}
public Pirate removePirate ( Integer id ) { Pirate pirate = this . pirates . get ( id ) ; if ( pirate != null ) { pirate . getCell ( ) . setCharacter ( null ) ; this . notifyClients ( CommandEnum . REMOVE_PIRATE , pirate ) ; } return pirate ; }
Remove the pirate on death or on disconnection.
Remove the pirate on death or on disconnection .