using UnityEngine;
using System.Collections;

public class Enemy : MonoBehaviour 
{
	public float MovementX;
	public float MovementY;

	// Use this for initialization
	public virtual void OnSpawned () {
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		transform.position = new Vector3 (transform.position.x - (MovementX * Time.deltaTime), transform.position.y - (MovementY * Time.deltaTime), 0.0f);
	}
}
