diff options
Diffstat (limited to 'src/docs')
-rw-r--r-- | src/docs/class.puml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/docs/class.puml b/src/docs/class.puml index cfc78b1..151e334 100644 --- a/src/docs/class.puml +++ b/src/docs/class.puml | |||
@@ -87,26 +87,24 @@ package context { | |||
87 | 87 | ||
88 | package event { | 88 | package event { |
89 | interface Event | 89 | interface Event |
90 | |||
91 | interface InputEvent implements Event | ||
92 | interface GameEvent implements Event | 90 | interface GameEvent implements Event |
91 | interface InputEvent implements Event | ||
93 | 92 | ||
94 | class DropBombEvent implements InputEvent | 93 | class ConfirmOrder implements InputEvent |
94 | class BombSetupOrder implements InputEvent | ||
95 | 95 | ||
96 | class AddBombEvent implements InputEvent { | 96 | class MoveRobotOrder implements InputEvent { |
97 | final TileVec2 | 97 | MoveRobotEvent(TileVec2) |
98 | AddBombEvent(TileVec2) | 98 | TileVec2 getTarget() |
99 | TileVec2 getTile() | ||
100 | } | 99 | } |
101 | 100 | ||
102 | class MoveRobotEvent implements InputEvent { | 101 | class BombSetupEvent implements GameEvent { |
103 | final TileVec2 | 102 | final TileVec2 |
104 | MoveRobotEvent(TileVec2) | 103 | AddBombEvent(TileVec2) |
105 | TileVec2 getTile() | 104 | TileVec2 getTile() |
106 | } | 105 | } |
107 | 106 | ||
108 | class ConfirmEvent implements InputEvent | 107 | class GameOverEvent implements GameEvent |
109 | class GameOverEvent implements Event | ||
110 | 108 | ||
111 | class ExplosionEvent implements GameEvent { | 109 | class ExplosionEvent implements GameEvent { |
112 | Block source | 110 | Block source |