aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/GameState.pumlc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/diagrams/GameState.pumlc')
-rw-r--r--doc/diagrams/GameState.pumlc18
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/diagrams/GameState.pumlc b/doc/diagrams/GameState.pumlc
index db39d8f..a913855 100644
--- a/doc/diagrams/GameState.pumlc
+++ b/doc/diagrams/GameState.pumlc
@@ -1,14 +1,18 @@
@startuml
class GameState {
- int player
- int capturesBlack
- int capturesWhite
- List board
- List prevBoards # for ko
- GameTree gameTree
+ int size
GameMove lastMove
- GameData gameData
+
+ getCurrentPlayer()
+ getPlayerCode()
+ getBoard()
+ clearBoard()
+ playMove(row, col)
+ playMoveForPlayer(row, col, player)
+ playPass()
+ playPassForPlayer(player)
+ undo()
}
@enduml