You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
# 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()
|
|
}
|
|
|
|
```
|