package NET.worlds.scape; import NET.worlds.network.URL; public class SeqFile implements BGLoaded { private int nativeNotifyObject; public SeqFile(int obj, URL path) { this.nativeNotifyObject = obj; BackgroundLoader.get(this, path); } @Override public Object asyncBackgroundLoad(String localName, URL remoteURL) { PendingCacheDrone.notifySeqLoaded(this.nativeNotifyObject, localName); return localName; } @Override public boolean syncBackgroundLoad(Object obj, URL remoteURL) { return false; } @Override public Room getBackgroundLoadRoom() { Pilot p = Pilot.getActive(); return p != null ? p.getRoom() : null; } }