コード例 #1
0
ファイル: Assets.java プロジェクト: darragh-murphy/LGame
 @Override
 public void run() {
   try {
     _result.succeed(_assets.getBytesSync(_path));
   } catch (Throwable t) {
     _result.fail(t);
   }
 }
コード例 #2
0
ファイル: Assets.java プロジェクト: darragh-murphy/LGame
 @Override
 public void run() {
   try {
     _impl.succeed(_assets.load(_path));
   } catch (Exception e) {
     _impl.fail(e);
   }
 }