source: java-rpg-common/Client.java@ d6c8eb6

Last change on this file since d6c8eb6 was d6c8eb6, checked in by dportnoy <dmp1488@…>, 17 years ago

[svn r28]

  • Property mode set to 100644
File size: 586 bytes
RevLine 
[04e7260]1import java.io.*;
2import java.util.*;
3
[d6c8eb6]4/*
5 * 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
6 * Calender stores when he logged on.
7 */
8
[04e7260]9public class Client {
10 private PrintWriter out;
11 private Calendar timeLoggedOn;
12
13 public Client(PrintWriter newOut) {
14 out = newOut;
15 }
16
17 public PrintWriter getOut() {
18 return out;
19 }
20
21 public Calendar getTimeLoggedOn() {
22 return timeLoggedOn;
23 }
24
25 public void setTimeLoggedOn(Calendar newTime) {
26 timeLoggedOn = newTime;
27 }
28}
Note: See TracBrowser for help on using the repository browser.