// retrieve the entity related data we need...
int agentID = entity.get(AgentIdentifiers.class).agentID;
Movement move = entity.get(Movement.class);
WorldPosition curPos = entity.get(Position.class).position;
WorldPosition moveTo = move.moveAim;
MovementType movT = move.moveType;
// send the messages
P032_SpeedModifier speedMod = new P032_SpeedModifier();
speedMod.init(channel);
speedMod.setAgentID(agentID);
speedMod.setModifier(movT.getSpeedModifier());
speedMod.setMovementType(movT.getVal());
channel.writeAndFlush(speedMod);
// TODO check me: this is probably the place that the player would reach within
// the next time step.