public class CraftingTask extends java.lang.Object implements java.lang.Runnable, MessageDispatch
| Modifier and Type | Field and Description |
|---|---|
protected CoordinatedEffectState |
coordinatedEffectState |
protected CraftingRecipe |
recipe |
NO_FLAGS, RESPONSE_EXPECTED| Constructor and Description |
|---|
CraftingTask(CraftingRecipe r,
java.util.LinkedList<java.lang.Long> cid,
java.util.LinkedList<java.lang.Integer> cs,
OID oid,
int recipeId) |
CraftingTask(CraftingRecipe recipe,
OID oid,
int recipeId,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(Message msg,
int flags)
Handle message.
|
void |
PlayCoordinatedEffect(java.lang.String coordEffect) |
void |
run() |
protected CraftingRecipe recipe
protected CoordinatedEffectState coordinatedEffectState
public CraftingTask(CraftingRecipe recipe, OID oid, int recipeId, int count)
public CraftingTask(CraftingRecipe r, java.util.LinkedList<java.lang.Long> cid, java.util.LinkedList<java.lang.Integer> cs, OID oid, int recipeId)
public void handleMessage(Message msg, int flags)
MessageCallbackhandleMessage in interface MessageCallbackmsg - Message sent from other agent.flags - Bitwise OR of MessageCallback.NO_FLAGS, MessageCallback.RESPONSE_EXPECTED.public void PlayCoordinatedEffect(java.lang.String coordEffect)
public void run()
run in interface java.lang.Runnable