aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/GameState.pumlc
blob: 38e1397e498c68b4b15f263d6ff071233efdcde3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@startuml

class GameState {
    int size
    GameTree gameTree
    GameMove lastMove
    'GameData gameData

    getCurrentPlayer(self)
    getPlayerCode(self)
    getBoard(self)
    playMove(self, row, col)
    playMoveForPlayer(self, row, col, player)
    playPass(self)
    undo(self)
}

@enduml