---
# System prepended metadata

title: Diagramme des classes Interface Finale

---

# Diagramme des classes Interface Finale

```mermaid
classDiagram
class SimulationPane {
    -BoidsContainer boids
    -WindowMouse windowMouse
    -Canvas canvas
    -Random random
    -AnimationTimer timer
    -Obstacle lastObstacle
    -Vector2D lastPosObstacle
    -List~Obstacle~ obstacleList
    +clearObstacle()
    +setCoefs(double separation, double alignement, double cohesion)
    -addBoid(double x, double y)
    -addObstacle(double x, double y) 
    -addHandler()
    -startTimer()
}

class Pane {
    (...)
}


class StackPane {
    (...)
}

class PreSimulationMenu {
    -geometry()
    -control()
    -appearance()
}

class SimulationMenuPane {
    -geometry()
    -control()
    -appearance()
    +pause()
    +resume()
}

class MainMenuPane {
    -geometry()
    -control()
    -appearance()
}

StackPane <|-- PreSimulationMenu
StackPane <|-- SimulationMenuPane
StackPane <|-- MainMenuPane

Pane <|-- SimulationPane
Pane <|-- StackPane
```