From 0a426ff97b4d4006f651630c94fe094b313cca25 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Mon, 8 Jan 2018 02:59:02 +0100 Subject: Updating UML diagram --- src/docs/class.puml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src') 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 { package context { class Context { + Context(Stage,List,GraphicsContext) final Stage final List final GraphicsContext } class GraphicsContext { - Graphics2D - ScreenInfo + final Graphics2D + final ScreenInfo paintCircle(Color, Vec2, int) paintSquare(Color, Vec2, int) } - class InputHandler + class InputHandler { + private ApplicationContext + InputHandler(ApplicationContext) + List getEvents() + } class ScreenManager { - private clearScreen() + private ApplicationContext + ScreenManager(ApplicationContext) + GraphicsContext clearScreen() } class Game { - GameController + final GameController Stage - Game(List) + Game(GameController,Stage,List) } } -- cgit v1.2.3