Examples of StaticObjectObject


Examples of lineage2.gameserver.model.entity.events.objects.StaticObjectObject

   * Method flagPoleUpdate.
   * @param dis boolean
   */
  public void flagPoleUpdate(boolean dis)
  {
    StaticObjectObject object = getFirstObject(FLAG_POLE);
    if (object != null)
    {
      object.setMeshIndex(dis ? 0 : (getResidence().getOwner() != null ? 1 : 0));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.model.entity.events.objects.StaticObjectObject

    FortressSiegeEvent siegeEvent = player.getEvent(FortressSiegeEvent.class);
    if (siegeEvent == null)
    {
      return;
    }
    StaticObjectObject object = siegeEvent.getFirstObject(FortressSiegeEvent.FLAG_POLE);
    if (((StaticObjectInstance) flagPole).getUId() != object.getUId())
    {
      return;
    }
    siegeEvent.processStep(player.getClan());
  }
View Full Code Here

Examples of lineage2.gameserver.model.entity.events.objects.StaticObjectObject

      {
        objects.add(new DoorObject(Integer.parseInt(objectsElement.attributeValue("id"))));
      }
      else if (nodeName.equalsIgnoreCase("static_object"))
      {
        objects.add(new StaticObjectObject(Integer.parseInt(objectsElement.attributeValue("id"))));
      }
      else if (nodeName.equalsIgnoreCase("combat_flag"))
      {
        int x = Integer.parseInt(objectsElement.attributeValue("x"));
        int y = Integer.parseInt(objectsElement.attributeValue("y"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.