atavism.agis.core
Class CurrencyItemActivateHook
java.lang.Object
atavism.agis.core.CurrencyItemActivateHook
- All Implemented Interfaces:
- ActivateHook, java.io.Serializable
public class CurrencyItemActivateHook
- extends java.lang.Object
- implements ActivateHook
an activate hook for items that trigger abilities
when the item is activated, the mob uses the ability
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
currencyID
protected int currencyID
CurrencyItemActivateHook
public CurrencyItemActivateHook()
CurrencyItemActivateHook
public CurrencyItemActivateHook(int currencyID)
setCurrencyID
public void setCurrencyID(int currencyID)
getCurrencyID
public int getCurrencyID()
activate
public boolean activate(OID activatorOid,
AgisItem item,
OID targetOid)
- Description copied from interface:
ActivateHook
- returns whether the item was successfully activated
- Specified by:
activate
in interface ActivateHook
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object