/// <summary> /// Constructor /// </summary> /// <param name="game"></param> public TexturePump ( Game game ) : base( game ) { Config = new TexturePumpConfig(); pumpTask = Task.Factory.StartNew(LoadingFunction); if (!Directory.Exists(cachePath)) Directory.CreateDirectory(cachePath); }
/// <summary> /// Constructor /// </summary> /// <param name="game"></param> public TexturePump(Game game) : base(game) { Config = new TexturePumpConfig(); pumpTask = Task.Factory.StartNew(LoadingFunction); if (!Directory.Exists(cachePath)) { Directory.CreateDirectory(cachePath); } }