File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/jme3test/asset Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public class TestManyLocators {
4343 public static void main (String [] args ){
4444 AssetManager am = JmeSystem .newAssetManager ();
4545
46- am .registerLocator ("http://www .jmonkeyengine.com/wp-content/uploads/2010/09/ " ,
46+ am .registerLocator ("http://wiki .jmonkeyengine.org/jme3/beginner " ,
4747 UrlLocator .class );
4848
4949 am .registerLocator ("town.zip" , ZipLocator .class );
@@ -65,15 +65,15 @@ public static void main(String[] args){
6565 AssetInfo c = am .locateAsset (new ModelKey ("glasstile2.png" ));
6666
6767 // Try loading directly from HTTP
68- AssetInfo d = am .locateAsset (new TextureKey ("planet-2.jpg " ));
68+ AssetInfo d = am .locateAsset (new TextureKey ("beginner-physics.png " ));
6969
7070 if (a == null )
7171 System .out .println ("Failed to load from classpath" );
7272 else
7373 System .out .println ("Found classpath font: " + a .toString ());
7474
7575 if (b == null )
76- System .out .println ("Failed to load from town.zip" );
76+ System .out .println ("Failed to load from town.zip file " );
7777 else
7878 System .out .println ("Found zip image: " + b .toString ());
7979
You can’t perform that action at this time.
0 commit comments