/*
* 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 2, 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
/**
* @author FBIagent
*/
package net.sf.l2j.gameserver.datatables;
public class PolyInfo
{
/** id to polymorph to */
private int _polyId;
/** the delay to spawn */
private int _spawnDelay;
/** condition to polymorph to this one */
private String _cond;
/** condition value */
private int _condValue;
/**
* Constructor
* @param polyId
* @param spawnDelay
* @param cond
* @param condValue
*/
public PolyInfo(int polyId, int spawnDelay, String cond, int condValue)
{
_polyId = polyId;
_spawnDelay = spawnDelay;
_cond = cond;
_condValue = condValue;
}
/**
* Returns the polymorph id
* @return int
*/
public int getPolyId()
{
return _polyId;
}
/**
* Returns the spawn delay (wait before spawn)
* @return int
*/
public int getSpawnDelay()
{
return _spawnDelay;
}
/**
* Returns the condition to spawn this polymorph
* @return String
*/
public String getCond()
{
return _cond;
}
/**
* Returns the condition value
* @return int
*/
public int getCondValue()
{
return _condValue;
}
}