📝 ajout du fichier des attentes de compétences, et mise en ligne du debut du diagramme de classe pour la compilation de mermaid
parent
c7d91b28d8
commit
667af61477
Binary file not shown.
@ -0,0 +1,41 @@
|
|||||||
|
# Diagramme de classes
|
||||||
|
|
||||||
|
title: Animal example
|
||||||
|
|
||||||
|
---
|
||||||
|
```
|
||||||
|
mermaid
|
||||||
|
|
||||||
|
classDiagram
|
||||||
|
|
||||||
|
class User{
|
||||||
|
+String name
|
||||||
|
+int NbEntiteTuee
|
||||||
|
}
|
||||||
|
|
||||||
|
class PlayerActif{
|
||||||
|
+int currentLevel
|
||||||
|
+ChangeCurrentLevel(int)
|
||||||
|
+Play()
|
||||||
|
}
|
||||||
|
note for PlayerActif "Joueur en jeu"
|
||||||
|
|
||||||
|
class PlayerStatic{
|
||||||
|
+int score
|
||||||
|
+float percentToSuper
|
||||||
|
+HandleUseSuper()
|
||||||
|
}
|
||||||
|
note for PlayerStatic "Joueur dans les menus"
|
||||||
|
|
||||||
|
User <|-- PlayerActif
|
||||||
|
User <|-- PlayerStatic
|
||||||
|
|
||||||
|
class Level{
|
||||||
|
+int number
|
||||||
|
+String sescription
|
||||||
|
+float time
|
||||||
|
+int nbTotEnemy
|
||||||
|
+int nbEnemyDown
|
||||||
|
}
|
||||||
|
PlayerActif --> Level : currentLvl
|
||||||
|
```
|
Loading…
Reference in new issue