fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

AssetWatcher: Return number of successfull / failed resources #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The AssetWatcher class is already counting the number of successful and failed 
resources but there is no way to actuall get the numbers. This would be 
convenient for a progress bar or for general error reporting.

public int loaded() { return loaded; }
public int errors() { return errors; }
public int total() { return total; }

Original issue reported on code.google.com by dc...@dcode.io on 30 Oct 2012 at 5:18

GoogleCodeExporter commented 9 years ago
Missed this: Of course also returning a list of the corresponding resources 
would be even better.

Original comment by dc...@dcode.io on 30 Oct 2012 at 5:20