Ludum Dare 50 Theme: Delay the inevitable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
567 B

using Enemies.States;
using UnityEngine;
namespace Enemies
{
public class Enemy : MonoBehaviour
{
public float health = 10f;
public float attackPower = 1;
public GameObject target { get; set; }
private float speed = 2f;
public IState state { get; set; }
// Start is called before the first frame update
void Start()
{
Destroy(gameObject, 10f);
}
// Update is called once per frame
void Update()
{
}
}
}