eleve_nsi
3 months ago
commit
4f1e6b2a65
1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
from import randint |
||||
|
class personnage : |
||||
|
def __init__ (self, nom,pdv,exp,cat,inventaire): |
||||
|
self.__nom=nom |
||||
|
self.__pdv=pdv |
||||
|
self.__exp=exp |
||||
|
self.__cat=cat |
||||
|
|
||||
|
def jet_attaque(self): |
||||
|
|
||||
|
|
||||
|
|
Loading…
Reference in new issue