}
@Override
public Input handle(Action action, String actorID)
{
final Proposal prop = (Proposal)action;
final Proposition p = new Proposition(prop.getType(), actorID,
prop.getForGroup(), dmodel.time);
logger.log(Level.FINE, "Agent {0} proposed a motion of {1} to group {2}",
new Object[]
{
nameOf(actorID),
prop.getType(), nameOf(prop.getForGroup())
});
if (dmodel.getGroupById(prop.getForGroup()) == null)
{
return null;
}
for (String member : dmodel.getGroupById(prop.getForGroup()).getMemberList())
{
sim.getPlayer(member).enqueueInput(p);
}
return null;