123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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;
- }
- }
|