-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClass diagram.drawio
244 lines (244 loc) · 27.7 KB
/
Class 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
<mxfile host="Electron" modified="2024-07-07T00:54:28.639Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.6.4 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="z9xAhYUQo_KI5QNSMrzk" version="24.6.4" type="device" pages="2">
<diagram id="MJ8tSPudCheSV-Sa3wuF" name="Class Diagram">
<mxGraphModel dx="2087" dy="993" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="39z7OcEjKNCnxrWsOGxc-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=oval;endFill=1;startArrow=diamondThin;startFill=0;targetPerimeterSpacing=3;jumpSize=4;strokeWidth=1;sourcePerimeterSpacing=0;startSize=13;endSize=9;" parent="1" source="39z7OcEjKNCnxrWsOGxc-1" target="39z7OcEjKNCnxrWsOGxc-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-1" value="System Manager<div>(Singleton)</div>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="193" y="295" width="188" height="150" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-2" value="Get Instance()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-1" vertex="1">
<mxGeometry y="30" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-10" value="Events" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-1" vertex="1" collapsed="1">
<mxGeometry y="60" width="188" height="30" as="geometry">
<mxRectangle y="60" width="188" height="150" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-11" value="Add System Script(Observer*)" style="text;strokeColor=#d6b656;fillColor=#fff2cc;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-10" vertex="1">
<mxGeometry y="30" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-63" value="Update System Scripts()" style="text;strokeColor=#d6b656;fillColor=#fff2cc;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-10" vertex="1">
<mxGeometry y="60" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-64" value="Add Game Script(Observer*)" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-10" vertex="1">
<mxGeometry y="90" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-12" value="Update Game Scripts()" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-10" vertex="1">
<mxGeometry y="120" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="2lU-8-Dn_B7P9K33SPBT-2" value="Window" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" collapsed="1" parent="39z7OcEjKNCnxrWsOGxc-1">
<mxGeometry y="90" width="188" height="30" as="geometry">
<mxRectangle y="90" width="188" height="90" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="2lU-8-Dn_B7P9K33SPBT-3" value="SetMainWindow(sf::window)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="2lU-8-Dn_B7P9K33SPBT-2">
<mxGeometry y="30" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="2lU-8-Dn_B7P9K33SPBT-4" value="GetMainWindow()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="2lU-8-Dn_B7P9K33SPBT-2">
<mxGeometry y="60" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-4" value="Print System Infomation()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-1" vertex="1">
<mxGeometry y="120" width="188" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-66" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=oval;endFill=1;startArrow=diamondThin;startFill=0;startSize=13;endSize=9;" parent="1" source="39z7OcEjKNCnxrWsOGxc-5" target="39z7OcEjKNCnxrWsOGxc-17" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-5" value="Event" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="469" y="295" width="140" height="120" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-6" value="Trigger(Params ...)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-5" vertex="1">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-7" value="Add Observer" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-5" vertex="1">
<mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-8" value="Remove Observer" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-5" vertex="1">
<mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-14" value="<h1 style="margin-top: 0px;">System Manager</h1><p><br></p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="-62" y="287" width="233" height="120" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-17" value="Observer" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="734" y="295" width="167" height="120" as="geometry">
<mxRectangle x="885" y="202" width="84" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-18" value="Event Trigger(Params ...)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-17" vertex="1">
<mxGeometry y="30" width="167" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-19" value="Item 2" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-17" vertex="1">
<mxGeometry y="60" width="167" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-20" value="Item 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-17" vertex="1">
<mxGeometry y="90" width="167" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-25" value="Function Event" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1309" y="448" width="214" height="120" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-28" value="Trigger(Params...)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-25" vertex="1">
<mxGeometry y="30" width="214" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-26" value="Add Function((*ptr)(Params...))" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-25" vertex="1">
<mxGeometry y="60" width="214" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-27" value="Remove Function((*ptr)(Params...))" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-25" vertex="1">
<mxGeometry y="90" width="214" height="30" as="geometry" />
</mxCell>
<mxCell id="kWHNyYj-Nq5nqHmV5_2z-1" value="Calls AddGameScript(<i>this</i>)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="39z7OcEjKNCnxrWsOGxc-29" target="39z7OcEjKNCnxrWsOGxc-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-29" value="Runtime Script" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="731.5" y="527" width="172" height="120" as="geometry">
<mxRectangle x="1031" y="280" width="114" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-30" value="Event Trigger()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-29" vertex="1">
<mxGeometry y="30" width="172" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-31" value="Virtual Start()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-29" vertex="1">
<mxGeometry y="60" width="172" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-32" value="Virtual Update()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-29" vertex="1">
<mxGeometry y="90" width="172" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-34" value="Extends" style="endArrow=block;endSize=16;endFill=0;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="39z7OcEjKNCnxrWsOGxc-29" target="39z7OcEjKNCnxrWsOGxc-17" edge="1">
<mxGeometry width="160" relative="1" as="geometry">
<mxPoint x="934" y="506" as="sourcePoint" />
<mxPoint x="897" y="455" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-36" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="39z7OcEjKNCnxrWsOGxc-30" target="39z7OcEjKNCnxrWsOGxc-42" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1225" y="548" as="sourcePoint" />
<mxPoint x="1306" y="501" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-42" value="<b>Implementation:</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="992" y="557" width="140" height="60" as="geometry">
<mxRectangle x="992" y="557" width="128" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-43" value="This calls Start() and Update()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-42" vertex="1">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-46" value="How to add a script:" style="swimlane;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="731.5" y="655" width="464" height="458" as="geometry">
<mxRectangle x="1460" y="247" width="141" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-49" value="<b>Steps:</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-46" vertex="1">
<mxGeometry x="15" y="237" width="170" height="206" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-50" value="<u>Step 1: </u>Create a new class that inherits <i>Runtime Script</i>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-49" vertex="1">
<mxGeometry y="30" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-51" value="<u>Step 2:</u> Overide the Start() and Update Functions" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-49" vertex="1">
<mxGeometry y="60" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-52" value="<u>Step 3: </u>Initialize your class into the heap.<div><b>Don't</b> add it to <i>System Manager.Add Game Script(My class*) </i>because the RuntimeScript will add itself to the system manager</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-49" vertex="1">
<mxGeometry y="90" width="170" height="116" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;dashed=1;dashPattern=8 8;endArrow=none;endFill=0;entryX=-0.021;entryY=0.067;entryDx=0;entryDy=0;entryPerimeter=0;" parent="39z7OcEjKNCnxrWsOGxc-46" source="39z7OcEjKNCnxrWsOGxc-50" target="39z7OcEjKNCnxrWsOGxc-57" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="262" y="252" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-57" value="My Class: <i>Runtime Script</i>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-46" vertex="1">
<mxGeometry x="274" y="227" width="175" height="120" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-58" value="Start() {<i>Insert Logic</i>}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-57" vertex="1">
<mxGeometry y="30" width="175" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-59" value="Update() {<i>Insert Logic</i>}" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-57" vertex="1">
<mxGeometry y="60" width="175" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-60" value="Item 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-57" vertex="1">
<mxGeometry y="90" width="175" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-61" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="39z7OcEjKNCnxrWsOGxc-46" source="39z7OcEjKNCnxrWsOGxc-51" target="39z7OcEjKNCnxrWsOGxc-58" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="245" y="312" />
<mxPoint x="245" y="272" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="39z7OcEjKNCnxrWsOGxc-46" source="39z7OcEjKNCnxrWsOGxc-51" target="39z7OcEjKNCnxrWsOGxc-59" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="244" y="312" />
<mxPoint x="244" y="302" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-65" value="<p style="margin-top: 0px;"></p><h1 style="font-size: 24px; margin-top: 0px; margin-bottom: 0px; line-height: 120%;">What does this do?</h1>This allows a class you've made to get called a <i>Update </i>method and a <i>Start </i>method.<p></p><p><b>Start Method<br></b>This method only get's called at the first frame of the program.</p><p><b>Update Method<br></b>This method get's called every frame of the program</p><p><span style="background-color: initial; color: rgba(0, 0, 0, 0); font-family: monospace; font-size: 0px; text-wrap: nowrap;">gdfgdfgThis%3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%22Update%20System%20Scripts()%22%20style%3D%22text%3BstrokeColor%3Dnone%3BfillColor%3Dnone%3Balign%3Dleft%3BverticalAlign%3Dmiddle%3BspacingLeft%3D4%3BspacingRight%3D4%3Boverflow%3Dhidden%3Bpoints%3D%5B%5B0%2C0.5%5D%2C%5B1%2C0.5%5D%5D%3BportConstraint%3Deastwest%3Brotatable%3D0%3BwhiteSpace%3Dwrap%3Bhtml%3D1%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22215%22%20y%3D%22385%22%20width%3D%22166%22%20height%3D%2230%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3</span><br></p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;container=0;fixedWidth=0;" parent="39z7OcEjKNCnxrWsOGxc-46" vertex="1">
<mxGeometry y="23" width="234" height="210" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="39z7OcEjKNCnxrWsOGxc-30" target="39z7OcEjKNCnxrWsOGxc-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-69" value="Shader" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1309" y="295" width="201" height="90" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-70" value="Shader(code file path, shader type)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-69" vertex="1">
<mxGeometry y="30" width="201" height="30" as="geometry" />
</mxCell>
<mxCell id="39z7OcEjKNCnxrWsOGxc-71" value="Get Id()" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="39z7OcEjKNCnxrWsOGxc-69" vertex="1">
<mxGeometry y="60" width="201" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram name="Program Flow" id="8UWnzZh6Zb71KIH3Xfgz">
<mxGraphModel dx="1434" dy="844" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="8zpjzQf2omMvxHvENyCF-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="YeYjp0__8qihfpiowBRM-4" target="YeYjp0__8qihfpiowBRM-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-4" value="Main" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="378" y="29" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-22" value="Show Graphical Window" style="swimlane;whiteSpace=wrap;html=1;startSize=23;" parent="1" vertex="1">
<mxGeometry x="206" y="508" width="464" height="413" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="YeYjp0__8qihfpiowBRM-22" source="YeYjp0__8qihfpiowBRM-24" target="YeYjp0__8qihfpiowBRM-26" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-24" value="Initialize OpenGL" style="rounded=0;whiteSpace=wrap;html=1;" parent="YeYjp0__8qihfpiowBRM-22" vertex="1">
<mxGeometry x="172" y="34" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-28" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="YeYjp0__8qihfpiowBRM-22" source="YeYjp0__8qihfpiowBRM-26" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="335" y="168" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-30" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="YeYjp0__8qihfpiowBRM-22" source="YeYjp0__8qihfpiowBRM-26" target="YeYjp0__8qihfpiowBRM-31" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="232" y="243" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-26" value="Is OpenGL 3.3 or higher?" style="rhombus;whiteSpace=wrap;html=1;" parent="YeYjp0__8qihfpiowBRM-22" vertex="1">
<mxGeometry x="192" y="128" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-29" value="Show Error and exit program" style="rounded=0;whiteSpace=wrap;html=1;" parent="YeYjp0__8qihfpiowBRM-22" vertex="1">
<mxGeometry x="336" y="144" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="YeYjp0__8qihfpiowBRM-22" source="YeYjp0__8qihfpiowBRM-31" target="YeYjp0__8qihfpiowBRM-32" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-31" value="Initialize game scripts" style="rounded=0;whiteSpace=wrap;html=1;" parent="YeYjp0__8qihfpiowBRM-22" vertex="1">
<mxGeometry x="172" y="248" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YeYjp0__8qihfpiowBRM-32" value="Create and show Window" style="rounded=0;whiteSpace=wrap;html=1;" parent="YeYjp0__8qihfpiowBRM-22" vertex="1">
<mxGeometry x="172" y="332" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>