1 changed files with 17 additions and 1 deletions
@ -1,4 +1,20 @@ |
|||||
class Personnage: |
class Personnage: |
||||
def __init__(self, nom, cat): |
def __init__(self, nom, cat): |
||||
self.nom = nom |
self.nom = nom |
||||
self.cat = cat |
self.cat = cat |
||||
|
self.pdv = 20 |
||||
|
self.exp = 1 |
||||
|
self.inventaire = [] |
||||
|
|
||||
|
def jet_attaque(self): |
||||
|
pass |
||||
|
def jet_defense(self): |
||||
|
pass |
||||
|
def change_pdv(self): |
||||
|
pass |
||||
|
def change_exp(self): |
||||
|
pass |
||||
|
def affiche_caracteristique(self): |
||||
|
pass |
||||
|
def affiche_inventaire(self): |
||||
|
pass |
||||
Loading…
Reference in new issue