Esempio n. 1
0
    public void Initialize(PotatoPile potatoPile)
    {
        potatoes = potatoPile;

        hitPoints = maxHitPoints;

        stealRoutine = null;

        initialized = true;
    }
Esempio n. 2
0
	public void Initialize(PotatoPile potatoPile, Transform spawnLocationTransform, Vector3 targetPosition)
	{
		potatoes = potatoPile;

		hitPoints = maxHitPoints;

		startPositionTransform = spawnLocationTransform;
		this.targetPosition = targetPosition;

		stealRoutine = null;

		initialized = true;
	}