From 452c354ebd3ddc1426983f418c7d4726df0720a8 Mon Sep 17 00:00:00 2001 From: Vasilis Valatsos Date: Wed, 6 Dec 2023 14:01:09 +0100 Subject: [PATCH] Removed print statements --- entities/components/animaton.py | 1 - entities/player.py | 3 --- pneuma.py | 1 - 3 files changed, 5 deletions(-) diff --git a/entities/components/animaton.py b/entities/components/animaton.py index d1223c9..30f616d 100644 --- a/entities/components/animaton.py +++ b/entities/components/animaton.py @@ -45,7 +45,6 @@ class AnimationHandler: 'player', animation )) - print(f"hitbox: {self.hitbox}") elif self.sprite_type == 'enemy': diff --git a/entities/player.py b/entities/player.py index fd5fb20..a3694dc 100644 --- a/entities/player.py +++ b/entities/player.py @@ -153,7 +153,6 @@ class Player(pygame.sprite.Sprite): sorted_distances = np.zeros(self.num_features) nearest_dist, _, nearest_enemy = sorted_distances[0] - print(nearest_dist, nearest_enemy) self.action_features = [self._input.action] @@ -239,8 +238,6 @@ class Player(pygame.sprite.Sprite): self.get_current_state() - print(self.reward_features) - def update(self): if not self.is_dead(): diff --git a/pneuma.py b/pneuma.py index 69b22bf..13c4b9e 100644 --- a/pneuma.py +++ b/pneuma.py @@ -190,7 +190,6 @@ if __name__ == "__main__": for player in game.level.player_sprites: score = np.mean(player.reward_features) - print(player.reward_features) # Update score score_history[player.player_id][episode] = np.mean(score)