private void SwimFish() { //位置を進める bool fs1 = utubo.Swim(out int x1, out int y1); bool fs2 = anko.Swim(out int x2, out int y2); bool fs3 = iwasi.Swim(out int x3, out int y3); utubo.PictureMove(x1, y1); anko.PictureMove(x2, y2); iwasi.PictureMove(x3, y3); }
private void swim() { int x, y; ankou.Swim(out x, out y); ankou.PictureMove(x, y); iwashi.Swim(out x, out y); iwashi.PictureMove(x, y); utubo.Swim(out x, out y); utubo.PictureMove(x, y); }