diff --git a/doc/newClassDiagram.md b/doc/newClassDiagram.md new file mode 100644 index 0000000..dbc29e9 --- /dev/null +++ b/doc/newClassDiagram.md @@ -0,0 +1,18 @@ +# Class diagram + +```mermaid + +--- +title: Diagramme de classe final (ne prenant en compte que les "cards") +--- + +classDiagram + + + class Card{ + attributes + +getAttributes() + +isEqual() + } + +``` diff --git a/doc/oldClassDiagram copy.md b/doc/oldClassDiagram copy.md new file mode 100644 index 0000000..c32b951 --- /dev/null +++ b/doc/oldClassDiagram copy.md @@ -0,0 +1,62 @@ +# Class diagram + +```mermaid + +--- +title: Diagramme de classe initial (ne prenant en compte que les "cards") +--- + +classDiagram + Card <|-- Card4WithNoOutline + Card <|-- Card4WithNoShape + Card <|-- Card4WithNoNumber + Card <|-- Card4WithNoColor + Card <|-- Card4WithNoFilling + + + class Card{ + +getAttributes() + +isEqual() + } + class Card4WithNoOutline{ + -string color + -string shape + -string number + -string filling + +getAttributes() + +isEqual() + } + class Card4WithNoShape{ + -string color + -string outline + -string number + -string filling + +getAttributes() + +isEqual() + } + class Card4WithNoColor{ + -string outline + -string shape + -string number + -string filling + +getAttributes() + +isEqual() + } + class Card4WithNoNumber{ + -string color + -string shape + -string outline + -string filling + +getAttributes() + +isEqual() + } + class Card4WithNoFilling{ + -string color + -string shape + -string number + -string outline + +getAttributes() + +isEqual() + } + +``` diff --git a/index.html b/index.html index 0a29d5e..0d06fe3 100755 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@ +