-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kaliedoscope.mm
198 lines (198 loc) · 14.1 KB
/
Kaliedoscope.mm
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
<map version="0.9.0">
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
<node BACKGROUND_COLOR="#333333" COLOR="#00ffff" CREATED="1362500623717" ID="ID_865538204" MODIFIED="1362501034410" STYLE="fork" TEXT="Kaliedoscope">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<font BOLD="true" NAME="MS PMincho" SIZE="16"/>
<node CREATED="1362500646680" ID="ID_920646127" MODIFIED="1362519192531" POSITION="right" TEXT="CLASSES">
<node CREATED="1362500677509" FOLDED="true" ID="ID_628109717" MODIFIED="1363119324601" TEXT="SHELL">
<node CREATED="1362500723879" ID="ID_737894650" MODIFIED="1362501015332" TEXT="Save"/>
<node CREATED="1362500659219" ID="ID_768854188" MODIFIED="1362501015332" TEXT="GUI">
<node CREATED="1362500703862" ID="ID_983532162" MODIFIED="1362501015332" TEXT="Astronauts Left"/>
<node CREATED="1362500710602" ID="ID_931288252" MODIFIED="1362501015332" TEXT="Sector/Zone"/>
<node CREATED="1362500716092" ID="ID_715287533" MODIFIED="1362501015332" TEXT="Map"/>
<node CREATED="1362520118698" ID="ID_243502489" MODIFIED="1362520122114" TEXT="TEXT"/>
</node>
<node CREATED="1362520129593" ID="ID_1955415203" MODIFIED="1362520131255" TEXT="AUDIO">
<node CREATED="1362523060259" ID="ID_1444946989" MODIFIED="1362523064440" TEXT="play()"/>
<node CREATED="1362523077530" ID="ID_460556360" MODIFIED="1362523086519" TEXT="source()"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500683418" ID="ID_1323439647" MODIFIED="1362524157190" TEXT="ASTRONAUT">
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500791031" ID="ID_918479861" MODIFIED="1362795491589" TEXT="PLAYER">
<node CREATED="1362500793761" ID="ID_1455806343" MODIFIED="1362501015333" TEXT="Spring function/rest length/distance"/>
<node CREATED="1362500811322" ID="ID_1980260621" MODIFIED="1362501015333" TEXT="Jump behavior"/>
<node CREATED="1362500821943" ID="ID_390561779" MODIFIED="1362501015333" TEXT="start point"/>
<node CREATED="1362500827384" ID="ID_1039502455" MODIFIED="1362501015333" TEXT="dialogue"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520410911" ID="ID_170040175" MODIFIED="1362795491589" TEXT="void move()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520383708" ID="ID_248975896" MODIFIED="1362795491589" TEXT="void update()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520395282" ID="ID_433034070" MODIFIED="1362795491589" TEXT="void setup()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520400376" ID="ID_1300816691" MODIFIED="1362795491589" TEXT="void move()"/>
<node CREATED="1362520442786" ID="ID_1610794439" MODIFIED="1362520455172" TEXT="void pickupAstronaut()"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362795409202" ID="ID_1939945425" MODIFIED="1362795491590" TEXT="STRANDEDASTRONAUT">
<node BACKGROUND_COLOR="#99ff99" CREATED="1362795449939" ID="ID_477798886" MODIFIED="1362795491590" TEXT="void draw()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362795453572" ID="ID_1426892665" MODIFIED="1362795491590" TEXT="void update()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362795456833" ID="ID_1266058953" MODIFIED="1362795491590" TEXT="void setup()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362795461347" ID="ID_130646526" MODIFIED="1362795491590" TEXT="void move();"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519718353" ID="ID_736389936" MODIFIED="1362524157190" TEXT="methods">
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519722040" ID="ID_46891071" MODIFIED="1362795425474" TEXT="virtual void draw()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520073508" ID="ID_657867619" MODIFIED="1362795429654" TEXT="virtual void update()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520077559" ID="ID_1088854218" MODIFIED="1362795433674" TEXT="virtual void setup()"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520087259" ID="ID_1471175150" MODIFIED="1362795439769" TEXT="virtual void move()">
<node CREATED="1362521468579" ID="ID_48807265" MODIFIED="1362521485996" TEXT="rotate to normal of planet"/>
<node CREATED="1362500826063" ID="ID_429264515" MODIFIED="1362501015333" TEXT="mimic"/>
</node>
<node CREATED="1362521494743" ID="ID_546218998" MODIFIED="1362521524359" TEXT="Gravitator closestGravitator()"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520467582" ID="ID_1750099871" MODIFIED="1362524326351" TEXT="parameters">
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520472142" ID="ID_460832042" MODIFIED="1362524326350" TEXT="ofVec2f pos"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520476451" ID="ID_1656146261" MODIFIED="1362524326351" TEXT="ofVec2f v"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520506874" ID="ID_25884941" MODIFIED="1362524326350" TEXT="ofVec2f a"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500686349" FOLDED="true" ID="ID_958492267" MODIFIED="1363119330641" STYLE="fork" TEXT="GRAVITATOR">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519292676" ID="ID_1997837331" MODIFIED="1362524079204" STYLE="fork" TEXT="parameters">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500900601" ID="ID_839901685" MODIFIED="1362523230615" STYLE="fork" TEXT="ofVec2f pos">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500891158" ID="ID_1303051730" MODIFIED="1362523230619" STYLE="fork" TEXT="bool habitability">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500874445" ID="ID_591044734" MODIFIED="1362523230619" STYLE="fork" TEXT="int gR">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500872929" ID="ID_1115959929" MODIFIED="1362523230618" STYLE="fork" TEXT="int m">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500852833" ID="ID_71915799" MODIFIED="1362523230617" STYLE="fork" TEXT="int r">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519376042" ID="ID_1606763322" MODIFIED="1362523230616" STYLE="fork" TEXT="int p">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520520303" ID="ID_51939767" MODIFIED="1362523230615" STYLE="fork" TEXT="int g">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519233340" ID="ID_909266369" MODIFIED="1362524080081" STYLE="fork" TEXT="methods">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519254144" ID="ID_348050822" MODIFIED="1362523230608" STYLE="fork" TEXT="virtual void draw();">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519270235" ID="ID_1430830433" MODIFIED="1362523230607" STYLE="fork" TEXT="virtual void update();">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519276157" ID="ID_982138002" MODIFIED="1362523230606" STYLE="fork" TEXT="virtual void setup();">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500833358" ID="ID_1099190936" MODIFIED="1362523186792" STYLE="fork" TEXT="PLANET">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519654760" ID="ID_220317981" MODIFIED="1362523230610" STYLE="fork" TEXT="void draw()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519683970" ID="ID_1934275598" MODIFIED="1362523230599" STYLE="fork" TEXT="green">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362522770072" ID="ID_737575145" MODIFIED="1362523230609" STYLE="fork" TEXT="void setup()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362522774399" ID="ID_1767313219" MODIFIED="1362523230599" STYLE="fork" TEXT="habitability = true;">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500838438" ID="ID_593630466" MODIFIED="1362523185834" STYLE="fork" TEXT="SUN">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519660121" ID="ID_177744145" MODIFIED="1362523230612" STYLE="fork" TEXT="void draw()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519678539" ID="ID_1642934068" MODIFIED="1362523230598" STYLE="fork" TEXT="yellow">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362522757580" ID="ID_952327089" MODIFIED="1362523230611" STYLE="fork" TEXT="void setup()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362522761685" ID="ID_1574483458" MODIFIED="1362523230597" STYLE="fork" TEXT="habitability = false;">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500841146" ID="ID_1636344047" MODIFIED="1362523184816" STYLE="fork" TEXT="BLACKHOLE">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519628735" ID="ID_1405324344" MODIFIED="1362523230613" STYLE="fork" TEXT="void setup()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519639322" ID="ID_1216883820" MODIFIED="1362523230597" STYLE="fork" TEXT="habitability = false;">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519698047" ID="ID_377188948" MODIFIED="1362523230613" STYLE="fork" TEXT="void draw()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362523249928" ID="ID_1914210128" MODIFIED="1362523277614" TEXT="purple"/>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500844261" ID="ID_1705997618" MODIFIED="1362523184145" STYLE="fork" TEXT="GRAVITYNODE">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519667161" ID="ID_552451523" MODIFIED="1362523230614" STYLE="fork" TEXT="void draw()">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362519672534" ID="ID_273314292" MODIFIED="1362523230620" STYLE="fork" TEXT="purple">
<edge COLOR="#808080" STYLE="bezier" WIDTH="thin"/>
</node>
</node>
</node>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362500690486" FOLDED="true" ID="ID_429621492" MODIFIED="1363119322900" TEXT="DECOR">
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520928041" ID="ID_430953772" MODIFIED="1362796225034" TEXT="SOLID">
<node CREATED="1362500666817" FOLDED="true" ID="ID_467607826" MODIFIED="1362523021485" TEXT="SPACEJUNK">
<node CREATED="1362521308394" ID="ID_1120751505" MODIFIED="1362521311203" TEXT="void setup()"/>
<node CREATED="1362521278196" ID="ID_1716693301" MODIFIED="1362521283203" TEXT="void draw()"/>
<node CREATED="1362521283452" ID="ID_356461048" MODIFIED="1362521286179" TEXT="void update()">
<node CREATED="1362521297545" ID="ID_465905607" MODIFIED="1362521299749" TEXT="void move()">
<node CREATED="1362500749870" ID="ID_600790435" MODIFIED="1362521360579" TEXT="does not move on path"/>
</node>
</node>
</node>
<node CREATED="1362500740739" FOLDED="true" ID="ID_489248189" MODIFIED="1362523023622" TEXT="MOON">
<node CREATED="1362521308394" ID="ID_733033235" MODIFIED="1362521311203" TEXT="void setup()"/>
<node CREATED="1362521278196" ID="ID_419669347" MODIFIED="1362521283203" TEXT="void draw()"/>
<node CREATED="1362521283452" ID="ID_1950179053" MODIFIED="1362521286179" TEXT="void update()">
<node CREATED="1362521297545" ID="ID_1541868563" MODIFIED="1362521299749" TEXT="void move()">
<node CREATED="1362500749870" ID="ID_1621553223" MODIFIED="1362521331043" TEXT="moves on path"/>
</node>
</node>
</node>
<node CREATED="1362500743188" FOLDED="true" ID="ID_661483561" MODIFIED="1362523022857" TEXT="COMET">
<node CREATED="1362521308394" ID="ID_523375959" MODIFIED="1362521311203" TEXT="void setup()"/>
<node CREATED="1362521278196" ID="ID_993268132" MODIFIED="1362521283203" TEXT="void draw()"/>
<node CREATED="1362521283452" ID="ID_394113311" MODIFIED="1362521286179" TEXT="void update()">
<node CREATED="1362521297545" ID="ID_1831219545" MODIFIED="1362521299749" TEXT="void move()">
<node CREATED="1362500749870" ID="ID_1013405458" MODIFIED="1362521331043" TEXT="moves on path"/>
</node>
</node>
</node>
<node CREATED="1362521384051" ID="ID_784567412" MODIFIED="1362521442868" TEXT="void detectCollision()"/>
</node>
<node BACKGROUND_COLOR="#99ff99" CREATED="1362520933488" ID="ID_1649803461" MODIFIED="1362796225033" TEXT="NONSOLID">
<node CREATED="1362500910756" ID="ID_1441377216" MODIFIED="1362520948348" TEXT="STAR"/>
</node>
<node CREATED="1362521074760" ID="ID_1325583970" MODIFIED="1362796085457" TEXT="methods">
<node CREATED="1362521101717" ID="ID_1996917538" MODIFIED="1362521224794" TEXT="virtual void setup()"/>
<node CREATED="1362521108267" ID="ID_1943487721" MODIFIED="1362521219048" TEXT="virtual void update()"/>
<node CREATED="1362521204532" ID="ID_1300721030" MODIFIED="1362521212573" TEXT="virtual void draw()"/>
</node>
<node CREATED="1362521076816" ID="ID_1575249822" MODIFIED="1362796086845" TEXT="parameters">
<node CREATED="1362521080451" ID="ID_924502909" MODIFIED="1362521085121" TEXT="ofVec2f pos"/>
<node CREATED="1362521091556" ID="ID_1081488521" MODIFIED="1362521095475" TEXT="ofVec2f v"/>
</node>
</node>
</node>
<node CREATED="1362500650081" FOLDED="true" ID="ID_226394271" MODIFIED="1362521039955" POSITION="left" TEXT="Other Functionality">
<node CREATED="1362500927162" ID="ID_806161142" MODIFIED="1362501015335" TEXT="name levels"/>
<node CREATED="1362500929061" ID="ID_1117045160" MODIFIED="1362501015335" TEXT="pathed obj."/>
<node CREATED="1362500937103" ID="ID_1230149359" MODIFIED="1362501015335" TEXT="undo/delete"/>
<node CREATED="1362500943661" ID="ID_271709291" MODIFIED="1362501015335" TEXT="edit"/>
</node>
<node CREATED="1362500654923" ID="ID_672920695" MODIFIED="1362501015335" POSITION="left" TEXT="Style Guides"/>
</node>
</map>