예제 #1
0
    private void SetJustRightState()
    {
        currentState = ResourcesState.JustRight;

        grapeSpawnMultiplier = 1f;
        bunchSpawnMultiplier = 1f;

        // Set default value for step multiplier
        grapeStepMultiplier = 1f;
    }
예제 #2
0
    private void SetTooManyGrapesState()
    {
        currentState = ResourcesState.TooManyGrapes;

        // Set default value for spawns multipliers
        grapeSpawnMultiplier = 1f;
        bunchSpawnMultiplier = 1f;

        grapeStepMultiplier = 0.5f;
    }
예제 #3
0
    private void SetTooLittleGrapesState()
    {
        currentState = ResourcesState.TooLittleGrapes;

        grapeSpawnMultiplier = 0.5f;
        bunchSpawnMultiplier = 0.5f;

        // Set default value for step multiplier
        grapeStepMultiplier = 1f;
    }