import java.io.*; import java.util.*; /* * An instance of this class should exist for every player that is online. THe PrintWriter is used to send messages to the player and the * Calender stores when he logged on. */ public class Client { private PrintWriter out; private Calendar timeLoggedOn; public Client(PrintWriter newOut) { out = newOut; } public PrintWriter getOut() { return out; } public Calendar getTimeLoggedOn() { return timeLoggedOn; } public void setTimeLoggedOn(Calendar newTime) { timeLoggedOn = newTime; } }