Compare commits

..

2 Commits

Author SHA1 Message Date
Stedd 4d201d7652 Merge remote-tracking branch 'origin/master' 2022-09-17 19:04:17 +02:00
Stedd b0f666b5ed Added entity invulnerability 2022-09-17 19:03:44 +02:00
2 changed files with 4 additions and 46 deletions

View File

@ -1,50 +1,7 @@
using UnityEngine; namespace AsteroidGame.Entities.Enemies.Scripts
using AsteroidGame.Interfaces;
namespace AsteroidGame.Entities.Enemies
{ {
public class EnemyBase : MonoBehaviour, IDamageable public class EnemyBase : EntityBase
{ {
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void ModifyHealth(int healthChange)
{
throw new System.NotImplementedException();
}
public void SetHealth(int newHealth)
{
throw new System.NotImplementedException();
}
public void SetMaxHealth(int newHealth)
{
throw new System.NotImplementedException();
}
public int GetHealth()
{
throw new System.NotImplementedException();
}
public int GetMaxHealth()
{
throw new System.NotImplementedException();
}
public float GetHealthFactor()
{
throw new System.NotImplementedException();
}
} }
} }

View File

@ -4,7 +4,8 @@
"references": [ "references": [
"GUID:bc7863ca0989b494d84426bfd28432fa", "GUID:bc7863ca0989b494d84426bfd28432fa",
"GUID:857695c8a9ee988459c9b50e4e75e660", "GUID:857695c8a9ee988459c9b50e4e75e660",
"GUID:17a5862fcd6383b4b97bad4dcb1e2e5d" "GUID:17a5862fcd6383b4b97bad4dcb1e2e5d",
"GUID:f26d68a0bdefa1043b120b820f55e190"
], ],
"includePlatforms": [], "includePlatforms": [],
"excludePlatforms": [], "excludePlatforms": [],