123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- /*
- * This program is free software: you can redistribute it and/or modify it under
- * the terms of the GNU General Public License as published by the Free Software
- * Foundation, either version 3 of the License, or (at your option) any later
- * version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see <http://www.gnu.org/licenses/>.
- */
- package com.l2jserver.gameserver.model;
- import com.l2jserver.gameserver.templates.StatsSet;
- /**
- *
- * @author Rayan RPG
- * @since 927
- *
- */
- public class L2NpcWalkerNode
- {
- private int _routeId;
- private int _npcId;
- private String _movePoint;
- private String _chatText;
- private int _moveX;
- private int _moveY;
- private int _moveZ;
- private int _delay;
-
- private boolean _running;
- public void setRunning(boolean val)
- {
- _running = val;
- }
-
- public void setRouteId(int id)
- {
- _routeId = id;
- }
- public void setNpcId(int id)
- {
- _npcId = id;
- }
- public void setMovePoint(String val)
- {
- _movePoint = val;
- }
- public void setChatText(String val)
- {
- _chatText = val;
- }
- public void setMoveX(int val)
- {
- _moveX = val;
- }
- public void setMoveY(int val)
- {
- _moveY = val;
- }
- public void setMoveZ(int val)
- {
- _moveZ = val;
- }
- public void setDelay(int val)
- {
- _delay = val;
- }
- public int getRouteId()
- {
- return _routeId;
- }
- public int getNpcId()
- {
- return _npcId;
- }
- public String getMovePoint()
- {
- return _movePoint;
- }
- public String getChatText()
- {
- return _chatText;
- }
- public int getMoveX()
- {
- return _moveX;
- }
- public int getMoveY()
- {
- return _moveY;
- }
- public int getMoveZ()
- {
- return _moveZ;
- }
- public int getDelay()
- {
- return _delay;
- }
-
- public boolean getRunning()
- {
- return _running;
- }
-
- /**
- * Constructor of L2NpcWalker.<BR><BR>
- */
- public L2NpcWalkerNode()
- {}
-
- /**
- * Constructor of L2NpcWalker.<BR><BR>
- * @param set The StatsSet object to transfert data to the method
- */
- public L2NpcWalkerNode(StatsSet set)
- {
- _npcId = set.getInteger("npc_id");
- _movePoint = set.getString("move_point");
- _chatText = set.getString("chatText");
- _moveX = set.getInteger("move_x");
- _moveX = set.getInteger("move_y");
- _moveX = set.getInteger("move_z");
- _delay = set.getInteger("delay");
- }
- }
|