diff --git a/level.py b/level.py index d853a6a..0a4bfb2 100644 --- a/level.py +++ b/level.py @@ -52,7 +52,7 @@ def __on_level_progression(self): pass -class SheepLevel(LevelInterface): +class GoatLevel(LevelInterface): def __init__(self, question: str, difficulty: int): self._startLevelTime: int = -1 self._stopLevelTime: int = -1 diff --git a/main-window.py b/main-window.py index 3b693f6..8a79983 100644 --- a/main-window.py +++ b/main-window.py @@ -6,7 +6,7 @@ import counting_objects as co import reaction -from level import SheepLevel, LevelInterface +from level import GoatLevel, LevelInterface if not pg.font: print("Warning, fonts disabled") @@ -29,7 +29,7 @@ def main(): background.fill((102, 204, 10)) # Load level and failure sound - currentLevel: LevelInterface = SheepLevel("How many sheep are there?", 1) + currentLevel: LevelInterface = GoatLevel("How many goats are there?", 1) # Put Text On The Background, Centered if not pg.font: diff --git a/reaction.py b/reaction.py index 3066f82..70c5d17 100644 --- a/reaction.py +++ b/reaction.py @@ -71,7 +71,7 @@ def execute(self) -> pg.sprite.Group: class DeadSheep(ReactionInterface): def __init__(self, all_objects: pg.sprite.Group): - self._soundFile: str = random.choice(["sounds/DEAD_SHEEP.wav"]) + self._soundFile: str = random.choice(["sounds/DEAD_GOAT.wav"]) self._failureSound = pg.mixer.Sound(self._soundFile) self._allObjects = all_objects return @@ -87,7 +87,7 @@ class Winning(ReactionInterface): def execute(self): global win win = True - pg.mixer.Sound.play(pg.mixer.Sound("sounds/WIN.wav")) + pg.mixer.Sound.play(pg.mixer.Sound("sounds/WINGOAT.wav")) return diff --git a/sounds/DEAD_GOAT.wav b/sounds/DEAD_GOAT.wav new file mode 100644 index 0000000..4479c52 Binary files /dev/null and b/sounds/DEAD_GOAT.wav differ diff --git a/sounds/DEAD_SHEEP.wav b/sounds/DEAD_SHEEP.wav deleted file mode 100644 index fd79a64..0000000 Binary files a/sounds/DEAD_SHEEP.wav and /dev/null differ diff --git a/sounds/WIN.wav b/sounds/WIN.wav deleted file mode 100644 index a7be59b..0000000 Binary files a/sounds/WIN.wav and /dev/null differ diff --git a/sounds/WIN_GOAT.wav b/sounds/WIN_GOAT.wav new file mode 100644 index 0000000..56376b9 Binary files /dev/null and b/sounds/WIN_GOAT.wav differ