diff --git a/Justyna.py b/Justyna.py new file mode 100644 index 0000000..5cad369 --- /dev/null +++ b/Justyna.py @@ -0,0 +1,9 @@ +class main(): + def __init__(self,traktor,field,ui,path): + self.traktor = traktor + self.field = field + self.ui = ui + self.path = path + + def main(self): + pass \ No newline at end of file diff --git a/Kamila.py b/Kamila.py new file mode 100644 index 0000000..5cad369 --- /dev/null +++ b/Kamila.py @@ -0,0 +1,9 @@ +class main(): + def __init__(self,traktor,field,ui,path): + self.traktor = traktor + self.field = field + self.ui = ui + self.path = path + + def main(self): + pass \ No newline at end of file diff --git a/Marcin.py b/Marcin.py new file mode 100644 index 0000000..0a112e7 --- /dev/null +++ b/Marcin.py @@ -0,0 +1,9 @@ +class main(): + def __init__(self,traktor,field,ui,path): + self.traktor = traktor + self.field = field + self.ui = ui + self.path = path + + def main(self): + pass diff --git a/Piotrek.py b/Piotrek.py new file mode 100644 index 0000000..5cad369 --- /dev/null +++ b/Piotrek.py @@ -0,0 +1,9 @@ +class main(): + def __init__(self,traktor,field,ui,path): + self.traktor = traktor + self.field = field + self.ui = ui + self.path = path + + def main(self): + pass \ No newline at end of file diff --git a/main.py b/main.py index 7b23bb3..a666e52 100644 --- a/main.py +++ b/main.py @@ -1,11 +1,15 @@ import pygame, sys -import tractor,pathfinding,field,ui +import tractor,pathfinding,field,ui,Justyna,Kamila,Marcin,Piotrek from pygame.locals import * pole = field.field() path = pathfinding.pathfinding() traktor = tractor.tractor(pole) UI = ui.game_ui(traktor,pole) +j = Justyna.main(traktor,pole,UI,path) +k = Kamila.main(traktor,pole,UI,path) +neuro = Marcin.main(traktor,pole,UI,path) +p = Piotrek.main(traktor,pole,UI,path) pygame.init() UI.update() UI.update() @@ -41,6 +45,18 @@ while True: print(traktor.get_poz()) if key[K_F11]: print(traktor.get_field_value()) + if key[K_F5]: + #Dla projektu Justyny + j.main() + if key[K_F6]: + # Dla projektu Kamili + k.main() + if key[K_F7]: + # Dla projektu Marcina + neuro.main() + if key[K_F8]: + # Dla projektu Piotrka + p.main() UI.update() UI.update()