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(); }
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; }
public LandmarkNotificationField(double x, double y) { this.location = new Location(x, y); }