Newer
Older
pushpullRefactoringExperiments / images / algo_class_pull.pu
Shinji Kageyama on 11 Aug 2022 518 bytes environmentAlgo.htmlの文章の記述
@startuml
title Algolikeクラス図(PULL)
class Algo{
    Algo()
    getHandsA() : List<Card>
    getLoseA() : boolean
}
class HandsA{
    value : List<Card>
    HandsA()
    updateResultByDrawingA(...) : void
    updateResultByDrawingB(...) : void
    updateResultBySelectingA(...) : void
    updateResultBySelectingB(...) : void
    getValue() : List<Card>
}
class LoseA{
    LoseA(handsA : HandsA)
    getValue() : boolean
}
Algo -->"1" HandsA :handsA
Algo -->"1" LoseA  :loseA
HandsA <-"1" LoseA : handsA

@enduml