diff --git a/src/Bee.py b/src/Bee.py new file mode 100644 index 00000000..d6b0ce29 --- /dev/null +++ b/src/Bee.py @@ -0,0 +1,19 @@ +import Flower +class Bee: + # typeOfBee = None + # genotype = None + # favFloweColor = None + # biome = None + # product = None + + def __init__(self, typeOfBee, genotype, biome, product, favFlowerColor = Flower.Flower.color): + self.typeOfBee = typeOfBee + self.genotype = genotype + self.favFlowerColor = favFlowerColor + self.biome = biome + self.product = product + self.amountOfPollinatedFlowers = 0 + + # def PollinateFlower(self): + # self.amountOfPollinatedFlowers = self.amountOfPollinatedFlowers + 1 + # print("pollinated") diff --git a/src/Beehive.py b/src/Beehive.py new file mode 100644 index 00000000..f9ba3e95 --- /dev/null +++ b/src/Beehive.py @@ -0,0 +1,14 @@ +import Frames +import Bee + +class Beehive: + bees = [] + coordinate = None + frames = [] #Frames + outputSlots = None #? + + def __init__(self, bees, coordinate, frames, outputSlots): + self.bees = bees + self.coordinate = coordinate + self.frames = frames + self.outputSlots = outputSlots diff --git a/src/Flower.py b/src/Flower.py new file mode 100644 index 00000000..383f78ee --- /dev/null +++ b/src/Flower.py @@ -0,0 +1,15 @@ +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 diff --git a/src/Frames.py b/src/Frames.py new file mode 100644 index 00000000..00cfa559 --- /dev/null +++ b/src/Frames.py @@ -0,0 +1,7 @@ +class Frames: + # name = None + # productivity = None + + def __init__(self, name, productivity): + self.name = name + self.productivity = productivity diff --git a/src/bee.png b/src/bee.png new file mode 100644 index 00000000..973f8c6e Binary files /dev/null and b/src/bee.png differ