Mise à jour de 'DiagrammeClasse.md'

master
Pierre FERREIRA 2 years ago
parent 121737ce63
commit 9d18a5b340

@ -6,34 +6,34 @@ title: Animal example
```mermaid ```mermaid
classDiagram classDiagram
class User{ class User{
+String name +String name
+int NbEntiteTuee +int NbEntiteTuee
} }
class PlayerActif{ class PlayerActif{
+int currentLevel +int currentLevel
+ChangeCurrentLevel(int) +ChangeCurrentLevel(int)
+Play() +Play()
} }
note for PlayerActif "Joueur en jeu" note for PlayerActif "Joueur en jeu"
class PlayerStatic{ class PlayerStatic{
+int score +int score
+float percentToSuper +float percentToSuper
+HandleUseSuper() +HandleUseSuper()
} }
note for PlayerStatic "Joueur dans les menus" note for PlayerStatic "Joueur dans les menus"
User <|-- PlayerActif User <|-- PlayerActif
User <|-- PlayerStatic User <|-- PlayerStatic
class Level{ class Level{
+int number +int number
+String sescription +String sescription
+float time +float time
+int nbTotEnemy +int nbTotEnemy
+int nbEnemyDown +int nbEnemyDown
} }
PlayerActif --> Level : currentLvl PlayerActif --> Level : currentLvl
``` ```
Loading…
Cancel
Save