<commit_before>﻿using UnityEngine;
using System.Collections;

public class MetallKeferController : MonoBehaviour {

	public GameObject gameControllerObject;
	private GameController gameController;
	private GameObject[] towerBasesBuildable;
	private GameObject nextWaypiont;
	private int currentWaypointIndex = 0;
	private int movementSpeed = 2;
	private float step = 10f;

	void Start () {
		this.gameController = this.gameControllerObject.GetComponent<GameController>();
		this.nextWaypiont = this.gameController.getWaypoints () [this.currentWaypointIndex];
	}
	
	void Update() {
		this.moveToNextWaypoint ();
	}

	void SetNextWaypoint() {
		if (this.currentWaypointIndex < this.gameController.getWaypoints ().Length - 1) {
			this.currentWaypointIndex += 1;
			this.nextWaypiont = this.gameController.getWaypoints () [this.currentWaypointIndex];
			this.nextWaypiont.GetComponent<Renderer> ().material.color = this.getRandomColor();
		}<commit_msg>Remove not needed step variable<commit_after>﻿using UnityEngine;
using System.Collections;

public class MetallKeferController : MonoBehaviour {

	public GameObject gameControllerObject;
	private GameController gameController;
	private GameObject[] towerBasesBuildable;
	private GameObject nextWaypiont;
	private int currentWaypointIndex = 0;
	private int movementSpeed = 2;

	void Start () {
		this.gameController = this.gameControllerObject.GetComponent<GameController>();
		this.nextWaypiont = this.gameController.getWaypoints () [this.currentWaypointIndex];
	}
	
	void Update() {
		this.moveToNextWaypoint ();
	}

	void SetNextWaypoint() {
		if (this.currentWaypointIndex < this.gameController.getWaypoints ().Length - 1) {
			this.currentWaypointIndex += 1;
			this.nextWaypiont = this.gameController.getWaypoints () [this.currentWaypointIndex];
			this.nextWaypiont.GetComponent<Renderer> ().material.color = this.getRandomColor();
		}
{'fraction_non_alphanumeric': 0.09836065573770492, 'fraction_numerical': 0.005288207297726071, 'mean_word_length': 5.781362007168458, 'pattern_counts': {'":': 0, '<': 9, '<?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': '817335', 'n_tokens_mistral': 624, 'n_tokens_neox': 550, 'n_words': 114}