|
@ -67,3 +67,7 @@ class Personnage : |
|
|
if self.cat == "elfe": |
|
|
if self.cat == "elfe": |
|
|
print("le personnage a : arc, potion") |
|
|
print("le personnage a : arc, potion") |
|
|
|
|
|
|
|
|
|
|
|
perso1 = Personnage("toto", "guerrier") |
|
|
|
|
|
print affiche_inventaire |
|
|
|
|
|
|
|
|
|
|
|
perso2 = Personnage("bob", "elfe") |