﻿using UnityEngine;

public class TutleController : Enemy
{
    public bool CollidedWithFloor = false;
	private Transform myTrans;

	protected override void Start()
	{
		//Get the transform of the object
		myTrans = GetComponent<Transform> ();

		CollidedWithFloor = true;

		//Inherit the elements of the parent
		base.Start ();

		Speed = 1;
	}

    // Update is called once per frame
    void Update()
    {
		myTrans.position += Vector3.left * (Speed * Time.deltaTime);
    }
}
