com.massisframework.massis.ai.sposh.actions.SimulationAction Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.massisframework.massis.ai.sposh.actions;
import com.massisframework.massis.ai.sposh.SimulationContext;
import cz.cuni.amis.pogamut.sposh.executor.ParamsAction;
/**
* Represents an SPOSH action in MASSIS simulation engine
*
* @author rpax
*/
public abstract class SimulationAction extends ParamsAction
{
public SimulationAction(SimulationContext ctx)
{
super(ctx);
}
/*
* The SPOSH engine calls init() and done() with
* reflection. Making these two methods abstract, forces the underlaying
* classes to implement it, avoiding errors.
*/
public abstract void init();
public abstract void done();
}