Code: Select all
public interface INetwork
{
void SetInput(IInputGenerator input);
}
Or maybe IInputReader would be better. For why would it has to generate input if it might already be created.
Or maybe IIterator would be better. For reader would suggest it would read from a persistent resource.
I also defined a GameService. But it's a class which is far too fat. I even doubt if service concept is any good. For it is not specific enough.
