<commit_before>package com.ezardlabs.lostsector.objects;

import com.ezardlabs.dethsquare.Screen;
import com.ezardlabs.dethsquare.Script;
import com.ezardlabs.dethsquare.Transform;
import com.ezardlabs.dethsquare.Vector2;

public class CameraMovement extends Script {
	private FollowType followType;
	private Transform target;
	private Vector2 offset = new Vector2(-450, 0);
	private boolean isQuaking = false;
	private long quakeEndPoint = 0;
	private float quakeStrength = 0;

	enum FollowType {
		DIRECT,
		SMOOTH
	}

	public CameraMovement() {
		this(null, FollowType.DIRECT);
	}

	public CameraMovement(Transform target, FollowType followType) {
		this.target = target;
		this.followType = followType;
	}

	public void start() {
		if (target != null) {
			follow(target);
			update();
			smoothFollow(target);
		}
	}

	public void update() {
		if (target != null) {<commit_msg>Update access modifier<commit_after>package com.ezardlabs.lostsector.objects;

import com.ezardlabs.dethsquare.Screen;
import com.ezardlabs.dethsquare.Script;
import com.ezardlabs.dethsquare.Transform;
import com.ezardlabs.dethsquare.Vector2;

public class CameraMovement extends Script {
	private FollowType followType;
	private Transform target;
	private Vector2 offset = new Vector2(-450, 0);
	private boolean isQuaking = false;
	private long quakeEndPoint = 0;
	private float quakeStrength = 0;

	public enum FollowType {
		DIRECT,
		SMOOTH
	}

	public CameraMovement() {
		this(null, FollowType.DIRECT);
	}

	public CameraMovement(Transform target, FollowType followType) {
		this.target = target;
		this.followType = followType;
	}

	public void start() {
		if (target != null) {
			follow(target);
			update();
			smoothFollow(target);
		}
	}

	public void update() {
		if (target != null) {
{'fraction_non_alphanumeric': 0.09887640449438202, 'fraction_numerical': 0.010112359550561797, 'mean_word_length': 4.60062893081761, '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': '2404589', 'n_tokens_mistral': 637, 'n_tokens_neox': 575, 'n_words': 145}