aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/GameMove.pumlc
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-06-29 23:23:09 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-06-29 23:23:09 +0200
commit6724aeb3ba98c1b9f042344734c2d683e79dfc64 (patch)
tree34dd64d6d4176edf5e564f860c3a34a9cc128262 /doc/diagrams/GameMove.pumlc
parentc25a5d482937fc861e9d1cfc1ff36e479fcb2fb4 (diff)
downloadimago-6724aeb3ba98c1b9f042344734c2d683e79dfc64.tar.gz
imago-6724aeb3ba98c1b9f042344734c2d683e79dfc64.zip
Made full class diagram.
Diffstat (limited to 'doc/diagrams/GameMove.pumlc')
-rw-r--r--doc/diagrams/GameMove.pumlc29
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/diagrams/GameMove.pumlc b/doc/diagrams/GameMove.pumlc
index 0f75edd..a1d0d73 100644
--- a/doc/diagrams/GameMove.pumlc
+++ b/doc/diagrams/GameMove.pumlc
@@ -5,19 +5,24 @@ class GameMove {
GameMove[] nextMoves
GameMove previousMove
boolean isPass
- int[2] coords
+ int[] coords
+ Player playerWhoPassed
- getRow(self)
- getCol(self)
- getPlayer(self)
- getNextPlayer(self)
- getGameLength(self)
- getThisAndPrevBoards(self)
- getPlayableVertices(self)
- addMove(self, row, col)
- addMoveForPlayer(self, row, col, player)
- addPass(self)
- printBoard(self)
+ getRow()
+ getCol()
+ getPlayer()
+ getNextPlayer()
+ getGameLength()
+ getThisAndPrevBoards()
+ getPlayableVertices()
+ getSensibleVertices()
+ addMove(row, col)
+ addMoveBcoords(coords)
+ addMoveForPlayer(row, col, player)
+ addPass()
+ addPassForPlayer()
+ getMainLineOfPlay()
+ printBoard()
}
@enduml