zyps 0.4.1 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/bin/zyps +32 -80
  2. data/lib/zyps/actions.rb +74 -2
  3. data/lib/zyps/environmental_factors.rb +16 -0
  4. data/lib/zyps.rb +90 -17
  5. data/test/test_zyps.rb +111 -8
  6. data/test/zyps/test_actions.rb +111 -46
  7. data/test/zyps/test_behaviors.rb +0 -0
  8. data/test/zyps/test_environmental_factors.rb +33 -0
  9. metadata +3 -134
  10. data/doc/classes/AccelerateAction.html +0 -182
  11. data/doc/classes/AccelerateAction.src/M000009.html +0 -19
  12. data/doc/classes/AccelerateAction.src/M000010.html +0 -18
  13. data/doc/classes/Action.html +0 -118
  14. data/doc/classes/AgeCondition.html +0 -181
  15. data/doc/classes/AgeCondition.src/M000039.html +0 -18
  16. data/doc/classes/AgeCondition.src/M000040.html +0 -18
  17. data/doc/classes/ApproachAction.html +0 -189
  18. data/doc/classes/ApproachAction.src/M000048.html +0 -19
  19. data/doc/classes/ApproachAction.src/M000049.html +0 -38
  20. data/doc/classes/Behavior.html +0 -202
  21. data/doc/classes/Behavior.src/M000001.html +0 -18
  22. data/doc/classes/Behavior.src/M000002.html +0 -19
  23. data/doc/classes/BlendAction.html +0 -181
  24. data/doc/classes/BlendAction.src/M000043.html +0 -18
  25. data/doc/classes/BlendAction.src/M000044.html +0 -18
  26. data/doc/classes/Clock.html +0 -165
  27. data/doc/classes/Clock.src/M000041.html +0 -18
  28. data/doc/classes/Clock.src/M000042.html +0 -21
  29. data/doc/classes/CollisionCondition.html +0 -148
  30. data/doc/classes/CollisionCondition.src/M000053.html +0 -18
  31. data/doc/classes/Color.html +0 -299
  32. data/doc/classes/Color.src/M000022.html +0 -18
  33. data/doc/classes/Color.src/M000023.html +0 -16
  34. data/doc/classes/Color.src/M000024.html +0 -16
  35. data/doc/classes/Color.src/M000025.html +0 -16
  36. data/doc/classes/Color.src/M000026.html +0 -18
  37. data/doc/classes/Color.src/M000027.html +0 -22
  38. data/doc/classes/Condition.html +0 -118
  39. data/doc/classes/Creature.html +0 -191
  40. data/doc/classes/Creature.src/M000011.html +0 -19
  41. data/doc/classes/Creature.src/M000012.html +0 -18
  42. data/doc/classes/DestroyAction.html +0 -181
  43. data/doc/classes/DestroyAction.src/M000030.html +0 -18
  44. data/doc/classes/DestroyAction.src/M000031.html +0 -18
  45. data/doc/classes/EatAction.html +0 -149
  46. data/doc/classes/EatAction.src/M000045.html +0 -21
  47. data/doc/classes/Enclosure.html +0 -206
  48. data/doc/classes/Enclosure.src/M000005.html +0 -18
  49. data/doc/classes/Enclosure.src/M000006.html +0 -31
  50. data/doc/classes/Environment.html +0 -203
  51. data/doc/classes/Environment.src/M000046.html +0 -19
  52. data/doc/classes/Environment.src/M000047.html +0 -45
  53. data/doc/classes/EnvironmentalFactor.html +0 -118
  54. data/doc/classes/FaceAction.html +0 -148
  55. data/doc/classes/FaceAction.src/M000052.html +0 -18
  56. data/doc/classes/FleeAction.html +0 -189
  57. data/doc/classes/FleeAction.src/M000054.html +0 -19
  58. data/doc/classes/FleeAction.src/M000055.html +0 -38
  59. data/doc/classes/GameObject.html +0 -282
  60. data/doc/classes/GameObject.src/M000032.html +0 -19
  61. data/doc/classes/GameObject.src/M000033.html +0 -16
  62. data/doc/classes/GameObject.src/M000034.html +0 -19
  63. data/doc/classes/GameObject.src/M000035.html +0 -16
  64. data/doc/classes/GameObject.src/M000036.html +0 -16
  65. data/doc/classes/Location.html +0 -167
  66. data/doc/classes/Location.src/M000021.html +0 -18
  67. data/doc/classes/ProximityCondition.html +0 -182
  68. data/doc/classes/ProximityCondition.src/M000037.html +0 -18
  69. data/doc/classes/ProximityCondition.src/M000038.html +0 -18
  70. data/doc/classes/TagAction.html +0 -181
  71. data/doc/classes/TagAction.src/M000028.html +0 -18
  72. data/doc/classes/TagAction.src/M000029.html +0 -18
  73. data/doc/classes/TagCondition.html +0 -181
  74. data/doc/classes/TagCondition.src/M000007.html +0 -18
  75. data/doc/classes/TagCondition.src/M000008.html +0 -18
  76. data/doc/classes/TrailsView.html +0 -209
  77. data/doc/classes/TrailsView.src/M000003.html +0 -40
  78. data/doc/classes/TrailsView.src/M000004.html +0 -78
  79. data/doc/classes/TurnAction.html +0 -182
  80. data/doc/classes/TurnAction.src/M000050.html +0 -19
  81. data/doc/classes/TurnAction.src/M000051.html +0 -18
  82. data/doc/classes/Utility.html +0 -264
  83. data/doc/classes/Utility.src/M000056.html +0 -26
  84. data/doc/classes/Utility.src/M000057.html +0 -22
  85. data/doc/classes/Utility.src/M000058.html +0 -18
  86. data/doc/classes/Utility.src/M000059.html +0 -21
  87. data/doc/classes/Utility.src/M000060.html +0 -25
  88. data/doc/classes/Utility.src/M000061.html +0 -21
  89. data/doc/classes/Utility.src/M000062.html +0 -21
  90. data/doc/classes/Vector.html +0 -281
  91. data/doc/classes/Vector.src/M000013.html +0 -19
  92. data/doc/classes/Vector.src/M000014.html +0 -16
  93. data/doc/classes/Vector.src/M000015.html +0 -21
  94. data/doc/classes/Vector.src/M000016.html +0 -16
  95. data/doc/classes/Vector.src/M000017.html +0 -18
  96. data/doc/classes/Vector.src/M000018.html +0 -16
  97. data/doc/classes/Vector.src/M000019.html +0 -18
  98. data/doc/classes/Vector.src/M000020.html +0 -25
  99. data/doc/created.rid +0 -1
  100. data/doc/files/COPYING_LESSER_txt.html +0 -311
  101. data/doc/files/COPYING_txt.html +0 -1003
  102. data/doc/files/README_txt.html +0 -214
  103. data/doc/files/lib/zyps/actions_rb.html +0 -134
  104. data/doc/files/lib/zyps/conditions_rb.html +0 -134
  105. data/doc/files/lib/zyps/environmental_factors_rb.html +0 -134
  106. data/doc/files/lib/zyps/views/trails_rb.html +0 -134
  107. data/doc/files/lib/zyps_rb.html +0 -134
  108. data/doc/fr_class_index.html +0 -53
  109. data/doc/fr_file_index.html +0 -34
  110. data/doc/fr_method_index.html +0 -88
  111. data/doc/index.html +0 -24
  112. data/doc/rdoc-style.css +0 -208
@@ -1,311 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: COPYING.LESSER.txt</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>COPYING.LESSER.txt</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>COPYING.LESSER.txt
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Jul 18 22:32:09 -0700 2007</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <pre>
73
- GNU LESSER GENERAL PUBLIC LICENSE
74
- Version 3, 29 June 2007
75
-
76
- Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;
77
- Everyone is permitted to copy and distribute verbatim copies
78
- of this license document, but changing it is not allowed.
79
-
80
- This version of the GNU Lesser General Public License incorporates
81
- </pre>
82
- <p>
83
- the terms and conditions of version 3 of the GNU General Public License,
84
- supplemented by the additional permissions listed below.
85
- </p>
86
- <pre>
87
- 0. Additional Definitions.
88
-
89
- As used herein, &quot;this License&quot; refers to version 3 of the GNU Lesser
90
- </pre>
91
- <p>
92
- General Public License, and the &quot;GNU GPL&quot; refers to version 3 of
93
- the GNU General Public License.
94
- </p>
95
- <pre>
96
- &quot;The Library&quot; refers to a covered work governed by this License,
97
- </pre>
98
- <p>
99
- other than an Application or a Combined Work as defined below.
100
- </p>
101
- <pre>
102
- An &quot;Application&quot; is any work that makes use of an interface provided
103
- </pre>
104
- <p>
105
- by the Library, but which is not otherwise based on the Library. Defining a
106
- subclass of a class defined by the Library is deemed a mode of using an
107
- interface provided by the Library.
108
- </p>
109
- <pre>
110
- A &quot;Combined Work&quot; is a work produced by combining or linking an
111
- </pre>
112
- <p>
113
- Application with the Library. The particular version of the Library with
114
- which the Combined Work was made is also called the &quot;Linked
115
- Version&quot;.
116
- </p>
117
- <pre>
118
- The &quot;Minimal Corresponding Source&quot; for a Combined Work means the
119
- </pre>
120
- <p>
121
- Corresponding Source for the Combined Work, excluding any source code for
122
- portions of the Combined Work that, considered in isolation, are based on
123
- the Application, and not on the Linked Version.
124
- </p>
125
- <pre>
126
- The &quot;Corresponding Application Code&quot; for a Combined Work means the
127
- </pre>
128
- <p>
129
- object code and/or source code for the Application, including any data and
130
- utility programs needed for reproducing the Combined Work from the
131
- Application, but excluding the System Libraries of the Combined Work.
132
- </p>
133
- <pre>
134
- 1. Exception to Section 3 of the GNU GPL.
135
-
136
- You may convey a covered work under sections 3 and 4 of this License
137
- </pre>
138
- <p>
139
- without being bound by section 3 of the GNU GPL.
140
- </p>
141
- <pre>
142
- 2. Conveying Modified Versions.
143
-
144
- If you modify a copy of the Library, and, in your modifications, a
145
- </pre>
146
- <p>
147
- facility refers to a function or data to be supplied by an Application that
148
- uses the facility (other than as an argument passed when the facility is
149
- invoked), then you may convey a copy of the modified version:
150
- </p>
151
- <pre>
152
- a) under this License, provided that you make a good faith effort to
153
- ensure that, in the event an Application does not supply the
154
- function or data, the facility still operates, and performs
155
- whatever part of its purpose remains meaningful, or
156
-
157
- b) under the GNU GPL, with none of the additional permissions of
158
- this License applicable to that copy.
159
-
160
- 3. Object Code Incorporating Material from Library Header Files.
161
-
162
- The object code form of an Application may incorporate material from
163
- </pre>
164
- <p>
165
- a header file that is part of the Library. You may convey such object code
166
- under terms of your choice, provided that, if the incorporated material is
167
- not limited to numerical parameters, data structure layouts and accessors,
168
- or small macros, inline functions and templates (ten or fewer lines in
169
- length), you do both of the following:
170
- </p>
171
- <pre>
172
- a) Give prominent notice with each copy of the object code that the
173
- Library is used in it and that the Library and its use are
174
- covered by this License.
175
-
176
- b) Accompany the object code with a copy of the GNU GPL and this license
177
- document.
178
-
179
- 4. Combined Works.
180
-
181
- You may convey a Combined Work under terms of your choice that,
182
- </pre>
183
- <p>
184
- taken together, effectively do not restrict modification of the portions of
185
- the Library contained in the Combined Work and reverse engineering for
186
- debugging such modifications, if you also do each of the following:
187
- </p>
188
- <pre>
189
- a) Give prominent notice with each copy of the Combined Work that
190
- the Library is used in it and that the Library and its use are
191
- covered by this License.
192
-
193
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
194
- document.
195
-
196
- c) For a Combined Work that displays copyright notices during
197
- execution, include the copyright notice for the Library among
198
- these notices, as well as a reference directing the user to the
199
- copies of the GNU GPL and this license document.
200
-
201
- d) Do one of the following:
202
-
203
- 0) Convey the Minimal Corresponding Source under the terms of this
204
- License, and the Corresponding Application Code in a form
205
- suitable for, and under terms that permit, the user to
206
- recombine or relink the Application with a modified version of
207
- the Linked Version to produce a modified Combined Work, in the
208
- manner specified by section 6 of the GNU GPL for conveying
209
- Corresponding Source.
210
-
211
- 1) Use a suitable shared library mechanism for linking with the
212
- Library. A suitable mechanism is one that (a) uses at run time
213
- a copy of the Library already present on the user's computer
214
- system, and (b) will operate properly with a modified version
215
- of the Library that is interface-compatible with the Linked
216
- Version.
217
-
218
- e) Provide Installation Information, but only if you would otherwise
219
- be required to provide such information under section 6 of the
220
- GNU GPL, and only to the extent that such information is
221
- necessary to install and execute a modified version of the
222
- Combined Work produced by recombining or relinking the
223
- Application with a modified version of the Linked Version. (If
224
- you use option 4d0, the Installation Information must accompany
225
- the Minimal Corresponding Source and Corresponding Application
226
- Code. If you use option 4d1, you must provide the Installation
227
- Information in the manner specified by section 6 of the GNU GPL
228
- for conveying Corresponding Source.)
229
-
230
- 5. Combined Libraries.
231
-
232
- You may place library facilities that are a work based on the
233
- </pre>
234
- <p>
235
- Library side by side in a single library together with other library
236
- facilities that are not Applications and are not covered by this License,
237
- and convey such a combined library under terms of your choice, if you do
238
- both of the following:
239
- </p>
240
- <pre>
241
- a) Accompany the combined library with a copy of the same work based
242
- on the Library, uncombined with any other library facilities,
243
- conveyed under the terms of this License.
244
-
245
- b) Give prominent notice with the combined library that part of it
246
- is a work based on the Library, and explaining where to find the
247
- accompanying uncombined form of the same work.
248
-
249
- 6. Revised Versions of the GNU Lesser General Public License.
250
-
251
- The Free Software Foundation may publish revised and/or new versions
252
- </pre>
253
- <p>
254
- of the GNU Lesser General Public License from time to time. Such new
255
- versions will be similar in spirit to the present version, but may differ
256
- in detail to address new problems or concerns.
257
- </p>
258
- <pre>
259
- Each version is given a distinguishing version number. If the
260
- </pre>
261
- <p>
262
- Library as you received it specifies that a certain numbered version of the
263
- GNU Lesser General Public License &quot;or any later version&quot; applies
264
- to it, you have the option of following the terms and conditions either of
265
- that published version or of any later version published by the Free
266
- Software Foundation. If the Library as you received it does not specify a
267
- version number of the GNU Lesser General Public License, you may choose any
268
- version of the GNU Lesser General Public License ever published by the Free
269
- Software Foundation.
270
- </p>
271
- <pre>
272
- If the Library as you received it specifies that a proxy can decide
273
- </pre>
274
- <p>
275
- whether future versions of the GNU Lesser General Public License shall
276
- apply, that proxy&#8216;s public statement of acceptance of any version is
277
- permanent authorization for you to choose that version for the Library.
278
- </p>
279
-
280
- </div>
281
-
282
-
283
- </div>
284
-
285
-
286
- </div>
287
-
288
-
289
- <!-- if includes -->
290
-
291
- <div id="section">
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
- <!-- if method_list -->
301
-
302
-
303
- </div>
304
-
305
-
306
- <div id="validator-badges">
307
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
308
- </div>
309
-
310
- </body>
311
- </html>