Package com.l2client.util

Examples of com.l2client.util.PartSetManager


    for(Light l :n.getLocalLightList())
      if(l instanceof AmbientLight)
        l.setColor(new ColorRGBA(0.5f,0.5f,0.5f,1.0f));
   
    PartSetManager man = PartSetManager.get();
    man.loadParts("dwarf.csv");
    Spatial n2 = Assembler2.getModel3("DwarfWarriorM");
//    n.setLocalTranslation(.126f,-.1224f, 5.76f);
    n2.setLocalTranslation(.126f, -0.1224f, 7.76f);
    ((Node)n).attachChild(n2);
   
View Full Code Here


public class TestAnimLoad extends TestCase {

  public void testSelf()
    {
      PartSetManager man = Singleton.get().getPartManager();
      man.loadParts("megaset.csv");
        // create the geometry and attach it
//      AssetManager assetMan = new DesktopAssetManager(true);
//      AnimData aData = (AnimData) assetMan.loadAsset("ready_idle.anim.xml");
     
      PartSet p = man.getPart("anim");
      assertNotNull("No animations found in megaset !?!", p);
     
      PartSet d = p.getPart("MTW2_Sword");
      assertNotNull("MTW2_Sword animation not found in megaset !?!", d);
      AnimationManager.get().precacheAnimations(d);
View Full Code Here

TOP

Related Classes of com.l2client.util.PartSetManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.