generated from ModDota/TypeScriptAddonTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Monopolis Turn State Diagram.drawio
310 lines (310 loc) · 33.8 KB
/
Monopolis Turn State Diagram.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<mxfile host="65bd71144e">
<diagram id="23k9uy0YEaFbfAensMAj" name="Page-1">
<mxGraphModel dx="1644" dy="1764" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="lMkkt_V8vPEnHozAb_V0-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.014;entryY=0.12;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;curved=1;" parent="1" source="lMkkt_V8vPEnHozAb_V0-2" target="lMkkt_V8vPEnHozAb_V0-17" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-2" value="start" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="20" y="230" width="140" height="78" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-3" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-2" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="2" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-2" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-35" value="" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="7" target="lMkkt_V8vPEnHozAb_V0-2" edge="1">
<mxGeometry x="-0.5389" y="-13" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-6" value="transition" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="300" y="20" width="140" height="78" as="geometry">
<mxRectangle x="230" y="240" width="60" height="26" as="alternateBounds"/>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-7" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-6" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="7" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-6" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;curved=1;gradientColor=#ffa500;fillColor=#ffcd28;strokeColor=#d79b00;" parent="1" source="lMkkt_V8vPEnHozAb_V0-15" target="lMkkt_V8vPEnHozAb_V0-2" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="670" y="120"/>
<mxPoint x="125" y="120"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="63" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=1;entryY=0.25;entryDx=0;entryDy=0;strokeColor=#FFFFFF;" parent="1" source="lMkkt_V8vPEnHozAb_V0-15" target="lMkkt_V8vPEnHozAb_V0-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="710" y="40"/>
<mxPoint x="540" y="40"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-15" value="endturn" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="640" y="80" width="140" height="78" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-16" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-15" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="6" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-15" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-30" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.014;entryY=0.12;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1.007;exitY=0.082;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-17" target="lMkkt_V8vPEnHozAb_V0-21" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="350" y="252" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;curved=1;" parent="1" source="lMkkt_V8vPEnHozAb_V0-17" target="lMkkt_V8vPEnHozAb_V0-15" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="270" y="100"/>
<mxPoint x="640" y="100"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="27" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-17" target="22" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0;entryY=0.25;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-18" target="lMkkt_V8vPEnHozAb_V0-25" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-17" value="diceroll" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="200" y="230" width="140" height="130" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-18" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-17" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="3" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-17" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-19" value="dice1: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-17" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-20" value="dice2: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-17" vertex="1">
<mxGeometry y="104" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-33" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.024;entryY=1.179;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-21" target="lMkkt_V8vPEnHozAb_V0-16" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="530" y="193" as="sourcePoint"/>
<Array as="points">
<mxPoint x="480" y="137"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-21" value="payrent" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="390" y="150" width="140" height="156" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-22" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-21" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="4" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-21" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-23" value="property: PricedTileId" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-21" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-24" value="price: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-21" vertex="1">
<mxGeometry y="104" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="64" value="broke: 1|0" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="lMkkt_V8vPEnHozAb_V0-21">
<mxGeometry y="130" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="61" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0.499;entryY=1.032;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#FFFFFF;" parent="1" source="lMkkt_V8vPEnHozAb_V0-25" target="59" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-25" value="unowned" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="390" y="320" width="140" height="104" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-26" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-25" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="5" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-25" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-27" value="property: PricedTileId" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="lMkkt_V8vPEnHozAb_V0-25" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-32" style="edgeStyle=orthogonalEdgeStyle;curved=1;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.007;entryY=0.853;entryDx=0;entryDy=0;exitX=1.007;exitY=0.135;exitDx=0;exitDy=0;exitPerimeter=0;entryPerimeter=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-25" target="6" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-37" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fillColor=#d5e8d4;strokeColor=#82b366;exitX=0;exitY=0;exitDx=0;exitDy=144;exitPerimeter=0;" parent="1" source="rjqsmmEBE-RS8cDuXn0C-1" target="lMkkt_V8vPEnHozAb_V0-15" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="779.6456692913389" y="94.00000000000023" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-39" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fillColor=#d5e8d4;strokeColor=#82b366;exitX=0;exitY=0;exitDx=0;exitDy=47;exitPerimeter=0;" parent="1" source="rjqsmmEBE-RS8cDuXn0C-2" target="lMkkt_V8vPEnHozAb_V0-6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="160" y="38.90000000000009" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-41" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.268;entryY=0.981;entryDx=0;entryDy=0;fillColor=#d5e8d4;strokeColor=#82b366;entryPerimeter=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-40" target="2" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-40" value="After user presses the roll dice button, switch to diceroll with the server computed dice values" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#191919;" parent="1" vertex="1">
<mxGeometry x="20" y="340" width="120" height="124" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-44" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.779;entryY=1.135;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" source="lMkkt_V8vPEnHozAb_V0-42" target="lMkkt_V8vPEnHozAb_V0-20" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="lMkkt_V8vPEnHozAb_V0-42" value="When hero lands on the tile after moving around the board,&nbsp;switch to payrent if it is an owned property that isn't mortgaged<br>if it is property, utility or railroad and is unowned, switch to unowned, if landed on a card space go to card_prompt, otherwise switch directly to endturn" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#080808;" parent="1" vertex="1">
<mxGeometry x="90" y="464" width="240" height="146" as="geometry"/>
</mxCell>
<mxCell id="rjqsmmEBE-RS8cDuXn0C-1" value="When end turn button is pressed, switch to transition and move pID to next value in roll order when not doubles, if doubles and they did not go to jail, go to start" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#080808;" parent="1" vertex="1">
<mxGeometry x="750" y="-110" width="120" height="174" as="geometry"/>
</mxCell>
<mxCell id="rjqsmmEBE-RS8cDuXn0C-2" value="3 seconds after moving hero, switch to start" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#080808;" parent="1" vertex="1">
<mxGeometry x="460" y="-90" width="120" height="124" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0;entryY=-0.096;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="10" target="2" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="19" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFFFFF;curved=1;" parent="1" source="10" target="lMkkt_V8vPEnHozAb_V0-17" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="10" value="jailed" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="-110" y="96" width="140" height="78" as="geometry"/>
</mxCell>
<mxCell id="11" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="10" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="14" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="10" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.25;exitDx=0;exitDy=0;" parent="1" source="lMkkt_V8vPEnHozAb_V0-6" target="10" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="18" style="html=1;entryX=0.267;entryY=1.071;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#60a917;strokeColor=#82B366;" parent="1" source="17" target="14" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="17" value="If user pays to get out of jail or uses get out of jail free card, just transition back to start (and set location to 10 and jailed to 0)" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#191919;" parent="1" vertex="1">
<mxGeometry x="-180" y="260" width="120" height="124" as="geometry"/>
</mxCell>
<mxCell id="21" style="html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;strokeColor=#82B366;" parent="1" source="20" target="10" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="20" value="After user presses the roll dice button with server computed values" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#191919;" parent="1" vertex="1">
<mxGeometry x="-130" y="-90" width="120" height="124" as="geometry"/>
</mxCell>
<mxCell id="32" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="22" target="30" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="22" value="card_prompt" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="390" y="440" width="140" height="78" as="geometry"/>
</mxCell>
<mxCell id="23" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="22" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="24" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="22" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="33" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0.357;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=none;" parent="1" source="56" target="6" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="34" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.121;exitY=0.019;exitDx=0;exitDy=0;fillColor=#dae8fc;strokeColor=#6c8ebf;gradientColor=#7ea6e0;exitPerimeter=0;" parent="1" source="29" target="5" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="35" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.25;exitY=0;exitDx=0;exitDy=0;fillColor=#dae8fc;strokeColor=#6c8ebf;gradientColor=#7ea6e0;" parent="1" source="29" target="lMkkt_V8vPEnHozAb_V0-23" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="39" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=1.007;entryY=0.128;entryDx=0;entryDy=0;entryPerimeter=0;curved=1;strokeColor=#6c8ebf;exitX=0;exitY=0.25;exitDx=0;exitDy=0;fillColor=#dae8fc;gradientColor=#7ea6e0;" parent="1" source="29" target="22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="550" y="450" as="targetPoint"/>
<Array as="points">
<mxPoint x="580" y="450"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="52" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=-0.011;entryY=0.139;entryDx=0;entryDy=0;entryPerimeter=0;curved=1;strokeColor=#FFFFFF;exitX=1.004;exitY=0.13;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="29" target="42" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="720" y="450" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="29" value="card_result" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="600" y="476" width="140" height="104" as="geometry"/>
</mxCell>
<mxCell id="30" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="29" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="41" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="29" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="31" value="card: CardAction" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="29" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="37" style="html=1;fillColor=#60a917;strokeColor=#82B366;" parent="1" source="36" target="24" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="36" value="Prompt user and switch to card_result after user flips the card" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#080808;" parent="1" vertex="1">
<mxGeometry x="390" y="570" width="120" height="110" as="geometry"/>
</mxCell>
<mxCell id="40" style="html=1;entryX=0.593;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#82B366;" parent="1" source="38" target="31" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="38" value="If card action requires moving to a new tile, go to payrent / unowned / card_prompt after moving to destination.<br><br>Otherwise only move to endturn after user accepts a dialog box confirming the user acknowledged the effect." style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#080808;" parent="1" vertex="1">
<mxGeometry x="550" y="622" width="220" height="150" as="geometry"/>
</mxCell>
<mxCell id="62" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=0.499;entryY=1.026;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#FFFFFF;" parent="1" source="42" target="51" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="42" value="auxroll_prompt" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="790" y="518" width="140" height="104" as="geometry"/>
</mxCell>
<mxCell id="43" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="42" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="44" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="42" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="45" value="card?: CardAction" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="42" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="55" style="edgeStyle=orthogonalEdgeStyle;curved=1;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#b85450;gradientColor=#ea6b66;fillColor=#f8cecc;" parent="1" source="46" target="lMkkt_V8vPEnHozAb_V0-24" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="570" y="378"/>
<mxPoint x="570" y="267"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="46" value="auxroll_result" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="790" y="300" width="140" height="156" as="geometry"/>
</mxCell>
<mxCell id="47" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="46" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="48" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="46" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="49" value="card?: CardAction" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="46" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="50" value="dice1: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="46" vertex="1">
<mxGeometry y="104" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="51" value="dice2: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="46" vertex="1">
<mxGeometry y="130" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="56" value="auction" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="620" y="217" width="140" height="104" as="geometry"/>
</mxCell>
<mxCell id="57" value="pID: Number" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="56" vertex="1">
<mxGeometry y="26" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="58" value="rolls: number[][]" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="56" vertex="1">
<mxGeometry y="52" width="140" height="26" as="geometry"/>
</mxCell>
<mxCell id="59" value="property: PricedTileId" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="56" vertex="1">
<mxGeometry y="78" width="140" height="26" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>