예제 #1
0
 protected ObjectNode(int id)
     : base(id)
 {
     this.type = NodeType.OBJECT;
     this.currentLandmarkLocation = new Location();
     this.lastLocationUpdate = 0;
     this.lastNearReader = null;
     this.lastNearReaderTime = -1;
     this.cachePackets = new List<Packet>();
     this.global = Global.getInstance();
 }
예제 #2
0
 public ObjectUpdateLocationField(Location l, float time, int server, int obj)
 {
     this.location = new Location(l.X, l.Y);
     this.updateTime = time;
     this.server = server;
     this.obj = obj;
 }
예제 #3
0
 public LandmarkNotificationField(double x, double y)
 {
     this.location = new Location(x, y);
 }