protected override void doUnload(AResource resource) { TextResource res = (TextResource)resource; res.text = ""; //System.Threading.Thread.Sleep(rand.Next(1000)); }
protected override AResource doLoad(string name) { TextResource res = new TextResource(); res.text = name; //System.Threading.Thread.Sleep(rand.Next(1000)); return(res); }