This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
PMC_Projekt/ProjektUnity/Assets/Scripts/ScriptableObjects/Enemy/Enemy.cs
2024-09-06 11:38:44 +02:00

28 lines
595 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Marvin Schneider
[CreateAssetMenu(fileName = "Enemy", menuName = "Enemy/Enemy", order = 0)]
public class Enemy : ScriptableObject
{
[SerializeField]
private float currentHealth = 100f;
[SerializeField]
private float currentSpeed = 2f;
[SerializeField]
private float damage = 20f;
public float getCurrentHealth(){
return currentHealth;
}
public float getCurrentSpeed(){
return currentSpeed;
}
public float getDamage(){
return damage;
}
}