using System; using UnityEngine; public class PositionTarget : ITarget { public int id { get{return 0;} } private Vector3 _position; public PositionTarget (Vector3 position) { _position = position; } public Vector3 position { get{return _position;} } public Vector3 heartPos { get{ Vector3 pos = position; pos.y = 1.5f; return pos; } } public void MakeDamage(Bullet bullet) { } public void MakeHeal(Bullet bullet) { } public bool IsDead() { return false; } public bool CanShoot() { return false; } }