﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestMover : MonoBehaviour {

    public float Speed;

	// Use this for initialization
	void Update ()
    {
        if (!GetComponent<BattleRoyale.Spells.SpellBase>())
            Destroy(this);

        GetComponent<Rigidbody>().velocity = transform.forward * Speed;
	}
}
