public void Initialize(PotatoPile potatoPile) { potatoes = potatoPile; hitPoints = maxHitPoints; stealRoutine = null; initialized = true; }
public void Initialize(PotatoPile potatoPile, Transform spawnLocationTransform, Vector3 targetPosition) { potatoes = potatoPile; hitPoints = maxHitPoints; startPositionTransform = spawnLocationTransform; this.targetPosition = targetPosition; stealRoutine = null; initialized = true; }