a
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 142 KiB |
Binary file not shown.
+3
-2
@@ -2,7 +2,7 @@ import copy
|
|||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class MeinSpiel:
|
class MeinSpiel:
|
||||||
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg","Bilder/motiv1.jpg","Bilder/motiv2.jpg","Bilder/motiv3.jpg","Bilder/motiv4.jpg","Bilder/motiv5.jpg","Bilder/motiv6.jpg""Bilder/motiv7.jpg","Bilder/motiv8.jpg"]
|
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg","Bilder/motiv1.jpg","Bilder/motiv2.jpg","Bilder/motiv3.jpg","Bilder/motiv4.jpg","Bilder/motiv5.jpg","Bilder/motiv6.jpg","Bilder/motiv7.jpg","Bilder/motiv8.jpg"]
|
||||||
spielfeld = []
|
spielfeld = []
|
||||||
|
|
||||||
def __init__(self, felderX, felderY):
|
def __init__(self, felderX, felderY):
|
||||||
@@ -19,6 +19,7 @@ class MeinSpiel:
|
|||||||
for x in range(12):
|
for x in range(12):
|
||||||
if x %3:
|
if x %3:
|
||||||
self.spielfeld[x][y]=1
|
self.spielfeld[x][y]=1
|
||||||
|
|
||||||
def tasteGedrueckt(self, taste):
|
def tasteGedrueckt(self, taste):
|
||||||
print("taste gedrückt")
|
print("taste gedrückt")
|
||||||
|
|
||||||
@@ -27,4 +28,4 @@ class MeinSpiel:
|
|||||||
for i in range(0, 11, 5):
|
for i in range(0, 11, 5):
|
||||||
print(i)
|
print(i)
|
||||||
|
|
||||||
if
|
|
||||||
Reference in New Issue
Block a user