Exemplo n.º 1
0
        public void IncrementExpHeight()
        {
            if (StageModel.Loaded.HeightIncrement == 0)
            {
                return;
            }

            expHeightAcc += StageModel.Loaded.HeightIncrement;
            OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc);
        }
Exemplo n.º 2
0
        public void DecrementInsHeight()
        {
            if (StageModel.Loaded.HeightIncrement == 0)
            {
                return;
            }

            insHeightAcc -= StageModel.Loaded.HeightIncrement;
            insHeightAcc  = insHeightAcc < 0f ? 0f : insHeightAcc;
            OnUpdatedPerformanceTarget?.Invoke(insHeightAcc, expHeightAcc);
        }