<commit_before>package structures.data.actions.move;

import structures.data.DataAction;
import structures.data.actions.params.DoubleParam;

public class SetGravity extends DataAction {
	
	public SetGravity() {
		init(new DoubleParam("Angle"), new DoubleParam("Force"));
	}

	@Override
	public String getTitle() {
		return "Set Gravity";
	}

	@Override
	public String getDescription() {
		return String.format("Set Gravity to %.2f at %.2f°", get("Angle").getValue(), get("Force").getValue());
	}

	@Override
	protected String getSyntax() {
		return "current().gravity = new Vector(%f, %f, true);";
	}

}<commit_msg>Alteration to SetGravity<commit_after>package structures.data.actions.move;

import structures.data.DataAction;
import structures.data.actions.params.DoubleParam;

public class SetGravity extends DataAction {
	
	public SetGravity() {
		init(new DoubleParam("Angle"), new DoubleParam("Force"));
	}

	@Override
	public String getTitle() {
		return "Set Gravity";
	}

	@Override
	public String getDescription() {
		return String.format("Set Gravity to %.2f at %.2f°", get("Angle").getValue(), get("Force").getValue());
	}

	@Override
	protected String getSyntax() {
		return "current().gravity = new Vector(%f, %f);";
	}

}
{'fraction_non_alphanumeric': 0.14817813765182186, 'fraction_numerical': 0.0032388663967611335, 'mean_word_length': 5.18, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1209192', 'n_tokens_mistral': 395, 'n_tokens_neox': 373, 'n_words': 95}