@Override
	public boolean equals(Object obj) {
		if(obj instanceof Player) {
			Player player = (Player)obj;
			if(player.getName().equals(this.player)) {
				return true;
			}
		}
		if(obj instanceof DataPlayer) {
			DataPlayer data = (DataPlayer)obj;
			if(data.getPlayer().equals(this.player)) {
				return true;
			}
		}
		return false;
	}