// reset the moving state here
character.setMoveState(MovementState.MOVE_KEEP_DIR);
}
P032_MovementSpeedModifier movementSpeedModifier = new P032_MovementSpeedModifier();
movementSpeedModifier.setAgentId(character.getAgentID());
movementSpeedModifier.setSpeed(character.getSpeedModifier());
movementSpeedModifier.setMoveType((short) moveType.getValue());
recipient.write(movementSpeedModifier);
P030_MovementAim movementAim = new P030_MovementAim();
movementAim.setAgentId(character.getAgentID());
Vector2 position = new Vector2(character.getPosition().getX(), character.getPosition().getY());