package nl.tudelft.simulation.dsol.process; import nl.tudelft.simulation.dsol.interpreter.process.InterpretableProcess; /** * The specifies *
* copyright (c) 2004-2018 Delft University of Technology , the
* Netherlands.
* See for project information www.simulation.tudelft.nl/dsol
* License of use: General Public License (GPL) , no warranty
* @author Peter Jacobs
* @since 1.5
*/
class Dog extends InterpretableProcess
{
/**
* constructs a new Cow.
*/
public Dog()
{
super();
}
/**
*/
public void bark()
{
System.out.println("bark");
this.suspendProcess();
}
/**
* executes the process
*/
public void process()
{
this.bark();
}
}