private void SetNextBall(Ball ball) { NextBall = ball; NextBall.Position = GetNextBallPosition(); PuzzleBooble3dGame.Components.Add(NextBall); NextBall.Load(); }
private void SetCurrentBall(Ball ball) { if(!PuzzleBooble3dGame.Components.Contains(ball)) { PuzzleBooble3dGame.Components.Add(ball); } CurrentBall = ball; CurrentBall.Position = GetCurrentBallPosition(); CurrentBall.Load(); }