Use Interfaces?
I try to develop a small web-based game.
I have a Player class:
public class Player{
private String name;
...
public getName(){
return this.name;
}
}
For my Presentation Layer I have a Buisiness Delegate -Interface:
public interface IFacade {
public Player getPlayer(String name);
}
Schould I better define a Player interface (IPlayer) and return a IPlayer-Object instead of Player-class Object?
Lena

