コード例 #1
0
 private void SetNextBall(Ball ball)
 {
     NextBall = ball;
     NextBall.Position = GetNextBallPosition();
     PuzzleBooble3dGame.Components.Add(NextBall);
     NextBall.Load();
 }
コード例 #2
0
        private void SetCurrentBall(Ball ball)
        {
            if(!PuzzleBooble3dGame.Components.Contains(ball))
            {
                PuzzleBooble3dGame.Components.Add(ball);
            }

            CurrentBall = ball;
            CurrentBall.Position = GetCurrentBallPosition();
            CurrentBall.Load();
        }