Commit ee56d1e5 authored by João Lino's avatar João Lino

interface definition for the library

parent 01d20ad0
package org.example.scoreboard;
public interface IMatch {
}
package org.example.scoreboard;
public interface IScore {
}
package org.example.scoreboard;
import java.util.ArrayList;
public interface IScoreboard {
IMatch startMatch(ITeam home, ITeam away);
void finishMatch(IMatch match);
IMatch updateScore(IMatch match, IScore home, IScore away);
ArrayList<IMatch> getGameSummary();
}
package org.example.scoreboard;
public interface ITeam {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment