ITarget.cs 226 B

12345678910111213141516
  1. using System;
  2. using UnityEngine;
  3. public interface ITarget
  4. {
  5. int id{get;}
  6. Vector3 position{get;}
  7. Vector3 heartPos{get;}
  8. void MakeDamage(Bullet bullet);
  9. void MakeHeal(Bullet bullet);
  10. bool IsDead();
  11. bool CanShoot();
  12. }