public class SpawnMobAcquireHook extends java.lang.Object implements AcquireHook
| Modifier and Type | Field and Description |
|---|---|
protected int |
mobTemplateID |
| Constructor and Description |
|---|
SpawnMobAcquireHook() |
SpawnMobAcquireHook(int mobTemplateID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquired(OID activatorOid,
AgisItem item)
Adds the item as Mob for the player and returns true telling the item to be
destroyed.
|
int |
getMobTemplateID() |
void |
setMobTemplateID(int mobTemplateID) |
java.lang.String |
toString() |
public SpawnMobAcquireHook()
public SpawnMobAcquireHook(int mobTemplateID)
public void setMobTemplateID(int mobTemplateID)
public int getMobTemplateID()
public boolean acquired(OID activatorOid, AgisItem item)
acquired in interface AcquireHookpublic java.lang.String toString()
toString in class java.lang.Object