PhysFSFileProvider.js 718 B

12345678910111213141516171819202122
  1. function PhysFSFileProvider() {
  2. }
  3. PhysFSFileProvider.prototype.openFile = function(fileName,opts) {
  4. Polycode.PhysFSFileProvider_openFile(this.__ptr, fileName,opts)
  5. }
  6. PhysFSFileProvider.prototype.closeFile = function(file) {
  7. Polycode.PhysFSFileProvider_closeFile(this.__ptr, file)
  8. }
  9. PhysFSFileProvider.prototype.parseFolder = function(pathString,showHidden,targetVector) {
  10. Polycode.PhysFSFileProvider_parseFolder(this.__ptr, pathString,showHidden,targetVector)
  11. }
  12. PhysFSFileProvider.prototype.addSource = function(source) {
  13. Polycode.PhysFSFileProvider_addSource(this.__ptr, source)
  14. }
  15. PhysFSFileProvider.prototype.removeSource = function(source) {
  16. Polycode.PhysFSFileProvider_removeSource(this.__ptr, source)
  17. }