atavism.agis.core
Class SpawnMobAcquireHook
java.lang.Object
  
atavism.agis.core.SpawnMobAcquireHook
- All Implemented Interfaces: 
 - AcquireHook, java.io.Serializable
 
public class SpawnMobAcquireHook
- extends java.lang.Object
- implements AcquireHook
  
An acquire hook for items that turn into Mob
 when acquired.
- See Also:
 - Serialized Form
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
mobTemplateID
protected int mobTemplateID
SpawnMobAcquireHook
public SpawnMobAcquireHook()
SpawnMobAcquireHook
public SpawnMobAcquireHook(int mobTemplateID)
setMobTemplateID
public void setMobTemplateID(int mobTemplateID)
 
 
getMobTemplateID
public int getMobTemplateID()
 
 
acquired
public boolean acquired(OID activatorOid,
                        AgisItem item)
- Adds the item as Mob for the player and returns true telling the item to be
 destroyed.
- Specified by:
 acquired in interface AcquireHook
 
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object