コード例 #1
0
 public Food(int x, int y, RandomCoordinate r)
 {
     randomCoordinate = r;
     X = x;
     Y = y;
 }
コード例 #2
0
 public Snake(ConsoleGraphics graphics, RandomCoordinate rand)
 {
     randomCoordinate = rand;
     g = graphics;
     SnakeAdd();
 }