Usuń 'Flower.py'
This commit is contained in:
parent
7c07010f3a
commit
d5665eddb8
15
Flower.py
15
Flower.py
@ -1,15 +0,0 @@
|
||||
import random
|
||||
|
||||
class PossibleFlower:
|
||||
color = ['red', 'blue', 'yellow', 'white', 'pink']
|
||||
name = ['tulip', 'sunflower', 'rose', 'dandelion', 'daisy']
|
||||
|
||||
class Flower:
|
||||
color = None
|
||||
name = None
|
||||
coordinates = []
|
||||
|
||||
def __init__(self, coordinates, color = PossibleFlower.color[random.randint(0, 4)], name = PossibleFlower.name[random.randint(0, 4)]):
|
||||
self.color = color
|
||||
self.name = name
|
||||
self.coordinates = coordinates
|
Loading…
Reference in New Issue
Block a user