Exemplo n.º 1
0
        public void StickBallToCeiling(IBallController incomingBall)
        {
            var gridPosition = _ballFactory.GetGridPositionFromWorldPosition(incomingBall.Position);

            Debug.Log("Sticking ball to ceiling at : " + incomingBall.Position + " -> " + gridPosition);
            _ballGrid.Append(incomingBall, gridPosition);
        }