source:
java-rpg-common/Client.java@
04e7260
Last change on this file since 04e7260 was 04e7260, checked in by , 17 years ago | |
---|---|
|
|
File size: 397 bytes |
Line | |
---|---|
1 | import java.io.*; |
2 | import java.util.*; |
3 | |
4 | public class Client { |
5 | private PrintWriter out; |
6 | private Calendar timeLoggedOn; |
7 | |
8 | public Client(PrintWriter newOut) { |
9 | out = newOut; |
10 | } |
11 | |
12 | public PrintWriter getOut() { |
13 | return out; |
14 | } |
15 | |
16 | public Calendar getTimeLoggedOn() { |
17 | return timeLoggedOn; |
18 | } |
19 | |
20 | public void setTimeLoggedOn(Calendar newTime) { |
21 | timeLoggedOn = newTime; |
22 | } |
23 | } |
Note:
See TracBrowser
for help on using the repository browser.