public class PressCommandTemplate extends MovementCommandTemplate<PressCommand>
Constructor and Description |
---|
PressCommandTemplate() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(PressCommand command,
IAgent agent,
IEfferentObject object) |
protected PressCommand |
create(IIdentifier commandId,
IIdentifier muscleId) |
boolean |
isConsistent(IEfferentCommand command)
returns true if this
IEfferentCommand is consistent with those created by
this template. |
instantiate
getDescription, getName
public boolean isConsistent(IEfferentCommand command)
IEfferentCommandTemplate
IEfferentCommand
is consistent with those created by
this template. This is used on the sensor side to make sure that the IEfferentCommand
supplied is acting upon an IEfferentObject
that can be acted uponisConsistent
in interface IEfferentCommandTemplate<PressCommand>
isConsistent
in class MovementCommandTemplate<PressCommand>
protected void configure(PressCommand command, IAgent agent, IEfferentObject object)
configure
in class MovementCommandTemplate<PressCommand>
protected PressCommand create(IIdentifier commandId, IIdentifier muscleId)
create
in class MovementCommandTemplate<PressCommand>