atavism.agis.objects
Class ResourceNode.HarvestTask
java.lang.Object
atavism.agis.objects.ResourceNode.HarvestTask
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- FishingResourceNode.FishTask
- Enclosing class:
- ResourceNode
public class ResourceNode.HarvestTask
- extends java.lang.Object
- implements java.lang.Runnable
A Runnable class that adds an object to the claim when it is run.
- Author:
- Andrew Harrison
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loc
protected AOVector loc
orient
protected Quaternion orient
playerOid
protected OID playerOid
playerSkillLevel
protected int playerSkillLevel
resourceNode
protected ResourceNode resourceNode
interrupted
protected boolean interrupted
ResourceNode.HarvestTask
public ResourceNode.HarvestTask()
StartHarvestTask
public void StartHarvestTask(AOVector loc,
Quaternion orient,
OID playerOid,
int playerSkillLevel,
ResourceNode resourceNode)
sendStartHarvestTask
public void sendStartHarvestTask(float length)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
interrupt
public void interrupt()