@startuml
'figure 5: The Command Pattern'
skinparam monochrome true
skinparam handwritten false
skinparam shadowing false
skinparam classAttributeIconSize 0
hide class circle
hide abstract circle

abstract class Command {
    + execute()
}

class Core {
    + stuff_to_do: List[Command]
}

class Command1 {
    + execute()
}

class Command2 {
    + execute()
}

Core::stuff_to_do *-- Command

Command <|.. Command1
Command <|.. Command2

@enduml
