aboutsummaryrefslogtreecommitdiff
path: root/src/docs
diff options
context:
space:
mode:
authorAdam NAILI2018-01-08 02:59:02 +0100
committerAdam NAILI2018-01-08 02:59:02 +0100
commit0a426ff97b4d4006f651630c94fe094b313cca25 (patch)
treea8f70dfaee8aea66aa548a84bd1f9d29ed2b8075 /src/docs
parenta9d747b06249feaafa5b903854558c8acf3b6513 (diff)
downloadwallj-0a426ff97b4d4006f651630c94fe094b313cca25.tar.gz
Updating UML diagram
Diffstat (limited to 'src/docs')
-rw-r--r--src/docs/class.puml19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/docs/class.puml b/src/docs/class.puml
index 1381c85..f4766db 100644
--- a/src/docs/class.puml
+++ b/src/docs/class.puml
@@ -28,28 +28,35 @@ package viewer {
28 28
29package context { 29package context {
30 class Context { 30 class Context {
31 Context(Stage,List<Event>,GraphicsContext)
31 final Stage 32 final Stage
32 final List<Event> 33 final List<Event>
33 final GraphicsContext 34 final GraphicsContext
34 } 35 }
35 36
36 class GraphicsContext { 37 class GraphicsContext {
37 Graphics2D 38 final Graphics2D
38 ScreenInfo 39 final ScreenInfo
39 paintCircle(Color, Vec2, int) 40 paintCircle(Color, Vec2, int)
40 paintSquare(Color, Vec2, int) 41 paintSquare(Color, Vec2, int)
41 } 42 }
42 43
43 class InputHandler 44 class InputHandler {
45 private ApplicationContext
46 InputHandler(ApplicationContext)
47 List<Event> getEvents()
48 }
44 49
45 class ScreenManager { 50 class ScreenManager {
46 private clearScreen() 51 private ApplicationContext
52 ScreenManager(ApplicationContext)
53 GraphicsContext clearScreen()
47 } 54 }
48 55
49 class Game { 56 class Game {
50 GameController 57 final GameController
51 Stage 58 Stage
52 Game(List<Board>) 59 Game(GameController,Stage,List<Board>)
53 } 60 }
54} 61}
55 62