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