public HostageState(HostageController hostageController) { hostage = hostageController; grid = GameObject.FindGameObjectWithTag(Tags.World).GetComponent <World>().grid; player = GameObject.FindGameObjectWithTag(Tags.Player); }
public ReleasedState(HostageController hostageController) : base(hostageController) { hostage = hostageController; escapeLocation = GameObject.FindGameObjectWithTag(Tags.Player).transform.position; }
public CapturedState(HostageController hostageController) : base(hostageController) { hostage = hostageController; }