Esempio n. 1
0
        protected override void OnUpdate()
        {
            foreach (var animationGroup in _requestByAnimation.Keys)
            {
                animationGroup.Update();
            }

            InvertGravityIfNecessary();

            if (CheckAndUpdateRequests(out var newRequest))
            {
                AnimateCells(CalculateCellsOffsets(_helper.GetSize()), newRequest);
            }
        }