コード例 #1
0
ファイル: Ball.cs プロジェクト: CorpArmstrong/LevelUP_NET161
 public static void CheckIsBallDeleted(ref Ball currentBall)
 {
     if (currentBall._isDeleted)
     {
         currentBall._color = BallColor.Black;
     }
 }
コード例 #2
0
ファイル: Ball.cs プロジェクト: CorpArmstrong/LevelUP_NET161
        public static Ball InitBall()
        {
            Ball newBall = new Ball();
            newBall._color = SetRandomBallColor();
            newBall._isDeleted = false;

            return newBall;
        }
コード例 #3
0
ファイル: Ball.cs プロジェクト: CorpArmstrong/LevelUP_NET161
 public static BallColor GetBallColor(Ball currentBall)
 {
     return currentBall._color;
 }