diff --git a/assets/MiniPeasant.png b/assets/MiniPeasant.png index 4f62827..97aa862 100644 Binary files a/assets/MiniPeasant.png and b/assets/MiniPeasant.png differ diff --git a/assets/MiniVillagerMan.png b/assets/MiniVillagerMan.png deleted file mode 100644 index 652f9d9..0000000 Binary files a/assets/MiniVillagerMan.png and /dev/null differ diff --git a/assets/MiniWorker.png b/assets/MiniWorker.png deleted file mode 100644 index 0bdd8c7..0000000 Binary files a/assets/MiniWorker.png and /dev/null differ diff --git a/assets/pnj/pnj1.png b/assets/pnj/pnj1.png new file mode 100644 index 0000000..175a90a Binary files /dev/null and b/assets/pnj/pnj1.png differ diff --git a/assets/pnj/pnj2.png b/assets/pnj/pnj2.png new file mode 100644 index 0000000..9f3a585 Binary files /dev/null and b/assets/pnj/pnj2.png differ diff --git a/assets/pnj/pnj3.png b/assets/pnj/pnj3.png new file mode 100644 index 0000000..f767efe Binary files /dev/null and b/assets/pnj/pnj3.png differ diff --git a/assets/pnj/pnj4.png b/assets/pnj/pnj4.png new file mode 100644 index 0000000..9e3cc14 Binary files /dev/null and b/assets/pnj/pnj4.png differ diff --git a/assets/pnj/pnj5.png b/assets/pnj/pnj5.png new file mode 100644 index 0000000..4f62827 Binary files /dev/null and b/assets/pnj/pnj5.png differ diff --git a/assets/pnj/pnj6.png b/assets/pnj/pnj6.png new file mode 100644 index 0000000..88eb284 Binary files /dev/null and b/assets/pnj/pnj6.png differ diff --git a/assets/pnj/pnj7.png b/assets/pnj/pnj7.png new file mode 100644 index 0000000..3fd9136 Binary files /dev/null and b/assets/pnj/pnj7.png differ diff --git a/assets/pnj/pnj8.png b/assets/pnj/pnj8.png new file mode 100644 index 0000000..266455a Binary files /dev/null and b/assets/pnj/pnj8.png differ diff --git a/game.py b/game.py index 12ed342..8a4e7cd 100644 --- a/game.py +++ b/game.py @@ -134,7 +134,7 @@ class Village: for i in range(nb_pnj): start_waypoint = Waypoint(random.choice(("A", "B", "C", "D", "E", "F", "G", "H"))) objective_waypoint = start_waypoint.get_new_connected() - self.liste_pnj.append(Pnj(start_waypoint.x, start_waypoint.y, "assets/MiniPeasant.png", start_waypoint.get_direction(start_waypoint, objective_waypoint), objective_waypoint, random.randint(1, 4))) + self.liste_pnj.append(Pnj(start_waypoint.x, start_waypoint.y, "assets/pnj/pnj"+str(random.randint(1,8))+".png", start_waypoint.get_direction(start_waypoint, objective_waypoint), objective_waypoint, random.randint(1, 4))) def ajouter_pnj_random(self)-> None: pass