<commit_before>package slogo.commands;

import java.util.ArrayList;
import java.util.List;

import slogo.character.CharacterInterface;
import slogo.character.MainCharacter;
import slogo.interpreter.VariableLibrary;
import slogo.nodes.NodeObject;

public class Forward extends Command {
	
	private VariableLibrary myVariables;
	private final int CHILDREN_REQUIRED = 1;


	@Override
	public double doCommand(List<NodeObject> params, CharacterInterface character) {
		List<Double> parameters = recurseToGetParameters(params, character);
		double distance = parameters.get(0);
		character.move(distance);
		return distance;
	}

	@Override
	public int getNumChildrenRequired() {
		// TODO Auto-generated method stub
		return CHILDREN_REQUIRED;
	}


}<commit_msg>Final commit before branching to alternate design.<commit_after>package slogo.commands;

import java.util.ArrayList;
import java.util.List;

import slogo.character.CharacterInterface;
import slogo.character.MainCharacter;
import slogo.interpreter.VariableLibrary;
import slogo.nodes.NodeObject;

public class Forward extends Command {
	
	private VariableLibrary myVariables;
	private final int CHILDREN_REQUIRED = 1;


	@Override
	public double doCommand(List<NodeObject> params, CharacterInterface character) {
		List<Double> parameters = recurseToGetParameters(params, character);
		double distance = parameters.get(0);
		character.move(distance);
		return distance;
	}

	@Override
	public int getNumChildrenRequired() {
		return CHILDREN_REQUIRED;
	}


}
{'fraction_non_alphanumeric': 0.08058124174372523, 'fraction_numerical': 0.002642007926023778, 'mean_word_length': 5.886363636363637, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1056181', 'n_tokens_mistral': 452, 'n_tokens_neox': 426, 'n_words': 110}