Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package jadex.bdi.planlib;
Finished condition for a space object task to be removed when a plan is finished.
	//-------- attributes --------
The finished flag.
	protected boolean	finished;
	//-------- constructors --------
Create a plan finished task condition.

plan The plan.
			public void planFinished(AgentEvent ae)
			public void planAdded(AgentEvent ae){}
	//-------- IBooleanCondition interface --------
Get the current state of the condition.

True, if the condition is valid.
	public boolean isValid()
		return !;
New to GrepCode? Check out our FAQ X