biocell
Class BioCommand
java.lang.Object
biocell.BioCommand
public class BioCommand
- extends java.lang.Object
- Author:
- martin lukac
The Direct implementation of the class Bio to the command object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BioCommand
public BioCommand()
BioCommand
public BioCommand(java.lang.String name)
- Parameters:
group
- name
-
BioCommand
public BioCommand(java.lang.ThreadGroup group,
java.lang.String name)
- Parameters:
group
- name
-
energyConsumed
public void energyConsumed(EnergyPrimitive ep)
getMoodParam
public double getMoodParam(java.lang.String name)
- Parameters:
name
-
- Returns:
setMood
public void setMood(java.lang.String name)
- Parameters:
name
- - reset the mood to one of the initially encoded
getCurrentmood
public DynamicMood getCurrentmood()
- Returns:
- Returns the currentmood.
sensorCRLPercieved
public void sensorCRLPercieved(BioSensorEvent event)
sensorPercieved
public void sensorPercieved(BioSensorEvent event)