Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2StaticObjectInstance


        if(line.trim().length() == 0 || line.startsWith("#"))
        {
          continue;
        }

        L2StaticObjectInstance obj = parse(line);
        _staticObjects.put(obj.getStaticObjectId(), obj);
        obj = null;
      }
    }
    catch(FileNotFoundException e)
    {
View Full Code Here


    int map_x = Integer.parseInt(st.nextToken());
    int map_y = Integer.parseInt(st.nextToken());

    st = null;

    L2StaticObjectInstance obj = new L2StaticObjectInstance(IdFactory.getInstance().getNextId());
    obj.setType(type);
    obj.setStaticObjectId(id);
    obj.setXYZ(x, y, z);
    obj.setMap(texture, map_x, map_y);
    obj.spawnMe();

    return obj;
  }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.actor.instance.L2StaticObjectInstance

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.