com.massisframework.massis.ai.sposh.senses.Fail Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.massisframework.massis.ai.sposh.senses;
import cz.cuni.amis.pogamut.sposh.executor.PrimitiveInfo;
import com.massisframework.massis.ai.sposh.SimulationContext;
/**
* Primitive sense that always fails (returns false) and does nothing else.
*
* @author rpax
*/
@PrimitiveInfo(name = "Fail", description = "Return false")
public class Fail extends SimulationSense {
public Fail(SimulationContext ctx) {
super(ctx);
}
public Boolean query() {
return false;
}
}