com.massisframework.massis.ai.sposh.senses.Succeed Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of massis-ai-sposh Show documentation
Show all versions of massis-ai-sposh Show documentation
SPOSH High Level Controller
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.massisframework.massis.ai.sposh.senses;
import com.massisframework.massis.ai.sposh.SimulationContext;
import cz.cuni.amis.pogamut.sposh.executor.PrimitiveInfo;
/**
* Primitive sense, always succeed (return true) and do nothing else.
*
* @author rpax
*/
@PrimitiveInfo(name = "Succeed", description = "Returns always true")
public class Succeed extends SimulationSense {
public Succeed(SimulationContext ctx) {
super(ctx);
}
public Boolean query() {
return true;
}
}