private void _setupIngredientView(int handSlot, IngredientCardData cardData) { PlayFieldViewUtils.SetupIngredientView( _playerHandView, handSlot, cardData, _handleIngredientCardBeginDrag, _handleEndDrag); }
public void AnimateOtherPlayerMoves(List <MoveResult> moveList, TweenCallback callback) { PlayFieldViewUtils.AnimateOtherPlayerMoves( moveList, _matchState, _activeCustomersView, _playfieldView.otherPlayerRoot, _playSlamFX, callback); }
private void _setupCustomerView(int customerSlot, CustomerCardState cardState) { PlayFieldViewUtils.SetupCustomerView( _activeCustomersView, customerSlot, cardState, _handleIngredientCardDrop, _handleIngredientCardHover, _deactiveHoverFX); }
private void _handleEndDrag() { _deactiveHoverFX(); if (_draggedIngredient.isDropSuccessfull) { _playerHandView.blockCardDrag = true; PlayFieldViewUtils.ZoomSlamTween( _draggedIngredient, _droppedCustomer, true, _onCardSlam, _onCardDropFinished); } }