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