-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel.drawio
28 lines (28 loc) · 3.47 KB
/
model.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
<mxfile host="app.diagrams.net" modified="2021-05-12T06:41:15.420Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.56" etag="KE54VUOHc2JM3AuGSeHd" version="14.6.12" type="github">
<diagram id="Pd45zTgIiPJOIhHkDbHc" name="Page-1">
<mxGraphModel dx="782" dy="469" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="tP966JpH3kfbYzCs0NpI-5" value="Answer" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1">
<mxGeometry x="80" y="280" width="160" height="86" as="geometry" />
</mxCell>
<mxCell id="tP966JpH3kfbYzCs0NpI-6" value="+ field: type" 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="tP966JpH3kfbYzCs0NpI-5" vertex="1">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="tP966JpH3kfbYzCs0NpI-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="tP966JpH3kfbYzCs0NpI-5" vertex="1">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="tP966JpH3kfbYzCs0NpI-8" value="+ method(type): type" 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="tP966JpH3kfbYzCs0NpI-5" vertex="1">
<mxGeometry y="60" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="4KcmmO-kA-060Vbt9RvE-1" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><i>&lt;&lt;abstract&gt;&gt;</i><br><b>Question</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">- actualQuestion: String<br>- answers[ ]: Answer</p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ method1(Type): Type<br>+ method2(Type, Type): Type</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1">
<mxGeometry x="235" y="70" width="190" height="140" as="geometry" />
</mxCell>
<mxCell id="R35mUs75iqf4z4gWJVU_-1" value="<h1>Ideas</h1><p>Option 1: Use inheritance to make different objects for each question used in the game.</p><p>Option 2: Create 1 object that changes state depending on what question is selected from the data base.</p><p>* Need to talk to Sasha about how we will make the database interact with the game.</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1">
<mxGeometry x="490" y="60" width="250" height="210" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>