Atavism Version 2018.1AGIS API

atavism.agis.objects
Class ResourceNode.HarvestTask

java.lang.Object
  extended by 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

Field Summary
protected  boolean interrupted
           
protected  AOVector loc
           
protected  Quaternion orient
           
protected  OID playerOid
           
protected  int playerSkillLevel
           
protected  ResourceNode resourceNode
           
 
Constructor Summary
ResourceNode.HarvestTask()
           
 
Method Summary
 void interrupt()
           
 void run()
           
 void sendStartHarvestTask(float length)
           
 void StartHarvestTask(AOVector loc, Quaternion orient, OID playerOid, int playerSkillLevel, ResourceNode resourceNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loc

protected AOVector loc

orient

protected Quaternion orient

playerOid

protected OID playerOid

playerSkillLevel

protected int playerSkillLevel

resourceNode

protected ResourceNode resourceNode

interrupted

protected boolean interrupted
Constructor Detail

ResourceNode.HarvestTask

public ResourceNode.HarvestTask()
Method Detail

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()


Copyright © 2018 Dragonsan Studios Sp. z o.o.