home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-02-16 | 750 b | 39 lines |
- // The Virtual Light Company 1996
- //
- // From Chapter 20: Late Night VRML 2.0 and java
- //
- // This is the Filtering server starter class.
-
- package filter;
-
- import java.net.*;
-
- public class User
- {
- public int entid;
- public long last_update;
- public InetAddress address;
- public int last_seq_num;
- public int update_port;
- public float acuity;
- public float size;
- public int horizon;
- public int current_region;
- public int[] regions;
- public int[] ports;
- public float[] position;
- public float[] rotation = {0, 0, 1, 0};
-
- public User(int update, float ac, int horz, int[] reg, int[] prt)
- {
- update_port = update;
- acuity = ac;
- horz = horizon;
- regions = reg;
- ports = prt;
- last_update = System.currentTimeMillis();
-
- position = null;
- }
- }
-