ref:Life is beautiful: 「パラメーターのプロパティ渡し」でプログラムを読みやすくする、というアイデアはどうだろう それ、Python なら以下のようにできる。 class Fish(MovieClip): def __init__(self, speed, direction, x, y, minDistance, maxInflucence): self.speed = speed self.direction = direction self.x = x self.y = y self.minDistance = minDistance self.maxInflucence = maxInflucence fish = Fish(speed = 2, direction = 180, x = 20, y = 20, minDistance = 16, maxInf