@Override public boolean playingAtHome(Team t) { boolean res = false; if (t.equals(stadistics.getHome().getTeam())) { res = true; } return res; }
@Override public Integer getMyGoalsConceded(Team t) { Integer res; if (t.equals(stadistics.getHome().getTeam())) { res = getGoalsAway(); } else { res = getGoalsHome(); } return res; }
@Override public AverageLocation getMyLocation(Team t) { AverageLocation res; if (t.equals(stadistics.getHome().getTeam())) { res = AverageLocation.HOME; } else { res = AverageLocation.AWAY; } return res; }
@Override public StadisticsTeam getMyStatistics(Team t) { StadisticsTeam res; if (t.equals(stadistics.getHome().getTeam())) { res = stadistics.getHome(); } else { res = stadistics.getAway(); } return res; }