public class TranslateCommandTemplate extends MovementCommandTemplate<TranslateCommand>
Constructor and Description |
---|
TranslateCommandTemplate() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(TranslateCommand command,
IAgent agent,
IEfferentObject object) |
protected TranslateCommand |
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
protected void configure(TranslateCommand command, IAgent agent, IEfferentObject object)
configure
in class MovementCommandTemplate<TranslateCommand>
protected TranslateCommand create(IIdentifier commandId, IIdentifier muscleId)
create
in class MovementCommandTemplate<TranslateCommand>
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<TranslateCommand>
isConsistent
in class MovementCommandTemplate<TranslateCommand>