| 13 | #include "Cache/TextureCache.h" |
| 14 | |
| 15 | NS_DORA_BEGIN |
| 16 | |
| 17 | /* TMXDef */ |
| 18 | |
| 19 | bool TMXDef::load(String filename) { |
| 20 | return _map.load(filename.toString()); |
| 21 | } |
| 22 | |
| 23 | void TMXDef::loadAsync(String filename, const std::function<void(bool)>& callback) { |
| 24 | this->retain(); |