zyps 0.4.1 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/zyps +32 -80
- data/lib/zyps/actions.rb +74 -2
- data/lib/zyps/environmental_factors.rb +16 -0
- data/lib/zyps.rb +90 -17
- data/test/test_zyps.rb +111 -8
- data/test/zyps/test_actions.rb +111 -46
- data/test/zyps/test_behaviors.rb +0 -0
- data/test/zyps/test_environmental_factors.rb +33 -0
- metadata +3 -134
- data/doc/classes/AccelerateAction.html +0 -182
- data/doc/classes/AccelerateAction.src/M000009.html +0 -19
- data/doc/classes/AccelerateAction.src/M000010.html +0 -18
- data/doc/classes/Action.html +0 -118
- data/doc/classes/AgeCondition.html +0 -181
- data/doc/classes/AgeCondition.src/M000039.html +0 -18
- data/doc/classes/AgeCondition.src/M000040.html +0 -18
- data/doc/classes/ApproachAction.html +0 -189
- data/doc/classes/ApproachAction.src/M000048.html +0 -19
- data/doc/classes/ApproachAction.src/M000049.html +0 -38
- data/doc/classes/Behavior.html +0 -202
- data/doc/classes/Behavior.src/M000001.html +0 -18
- data/doc/classes/Behavior.src/M000002.html +0 -19
- data/doc/classes/BlendAction.html +0 -181
- data/doc/classes/BlendAction.src/M000043.html +0 -18
- data/doc/classes/BlendAction.src/M000044.html +0 -18
- data/doc/classes/Clock.html +0 -165
- data/doc/classes/Clock.src/M000041.html +0 -18
- data/doc/classes/Clock.src/M000042.html +0 -21
- data/doc/classes/CollisionCondition.html +0 -148
- data/doc/classes/CollisionCondition.src/M000053.html +0 -18
- data/doc/classes/Color.html +0 -299
- data/doc/classes/Color.src/M000022.html +0 -18
- data/doc/classes/Color.src/M000023.html +0 -16
- data/doc/classes/Color.src/M000024.html +0 -16
- data/doc/classes/Color.src/M000025.html +0 -16
- data/doc/classes/Color.src/M000026.html +0 -18
- data/doc/classes/Color.src/M000027.html +0 -22
- data/doc/classes/Condition.html +0 -118
- data/doc/classes/Creature.html +0 -191
- data/doc/classes/Creature.src/M000011.html +0 -19
- data/doc/classes/Creature.src/M000012.html +0 -18
- data/doc/classes/DestroyAction.html +0 -181
- data/doc/classes/DestroyAction.src/M000030.html +0 -18
- data/doc/classes/DestroyAction.src/M000031.html +0 -18
- data/doc/classes/EatAction.html +0 -149
- data/doc/classes/EatAction.src/M000045.html +0 -21
- data/doc/classes/Enclosure.html +0 -206
- data/doc/classes/Enclosure.src/M000005.html +0 -18
- data/doc/classes/Enclosure.src/M000006.html +0 -31
- data/doc/classes/Environment.html +0 -203
- data/doc/classes/Environment.src/M000046.html +0 -19
- data/doc/classes/Environment.src/M000047.html +0 -45
- data/doc/classes/EnvironmentalFactor.html +0 -118
- data/doc/classes/FaceAction.html +0 -148
- data/doc/classes/FaceAction.src/M000052.html +0 -18
- data/doc/classes/FleeAction.html +0 -189
- data/doc/classes/FleeAction.src/M000054.html +0 -19
- data/doc/classes/FleeAction.src/M000055.html +0 -38
- data/doc/classes/GameObject.html +0 -282
- data/doc/classes/GameObject.src/M000032.html +0 -19
- data/doc/classes/GameObject.src/M000033.html +0 -16
- data/doc/classes/GameObject.src/M000034.html +0 -19
- data/doc/classes/GameObject.src/M000035.html +0 -16
- data/doc/classes/GameObject.src/M000036.html +0 -16
- data/doc/classes/Location.html +0 -167
- data/doc/classes/Location.src/M000021.html +0 -18
- data/doc/classes/ProximityCondition.html +0 -182
- data/doc/classes/ProximityCondition.src/M000037.html +0 -18
- data/doc/classes/ProximityCondition.src/M000038.html +0 -18
- data/doc/classes/TagAction.html +0 -181
- data/doc/classes/TagAction.src/M000028.html +0 -18
- data/doc/classes/TagAction.src/M000029.html +0 -18
- data/doc/classes/TagCondition.html +0 -181
- data/doc/classes/TagCondition.src/M000007.html +0 -18
- data/doc/classes/TagCondition.src/M000008.html +0 -18
- data/doc/classes/TrailsView.html +0 -209
- data/doc/classes/TrailsView.src/M000003.html +0 -40
- data/doc/classes/TrailsView.src/M000004.html +0 -78
- data/doc/classes/TurnAction.html +0 -182
- data/doc/classes/TurnAction.src/M000050.html +0 -19
- data/doc/classes/TurnAction.src/M000051.html +0 -18
- data/doc/classes/Utility.html +0 -264
- data/doc/classes/Utility.src/M000056.html +0 -26
- data/doc/classes/Utility.src/M000057.html +0 -22
- data/doc/classes/Utility.src/M000058.html +0 -18
- data/doc/classes/Utility.src/M000059.html +0 -21
- data/doc/classes/Utility.src/M000060.html +0 -25
- data/doc/classes/Utility.src/M000061.html +0 -21
- data/doc/classes/Utility.src/M000062.html +0 -21
- data/doc/classes/Vector.html +0 -281
- data/doc/classes/Vector.src/M000013.html +0 -19
- data/doc/classes/Vector.src/M000014.html +0 -16
- data/doc/classes/Vector.src/M000015.html +0 -21
- data/doc/classes/Vector.src/M000016.html +0 -16
- data/doc/classes/Vector.src/M000017.html +0 -18
- data/doc/classes/Vector.src/M000018.html +0 -16
- data/doc/classes/Vector.src/M000019.html +0 -18
- data/doc/classes/Vector.src/M000020.html +0 -25
- data/doc/created.rid +0 -1
- data/doc/files/COPYING_LESSER_txt.html +0 -311
- data/doc/files/COPYING_txt.html +0 -1003
- data/doc/files/README_txt.html +0 -214
- data/doc/files/lib/zyps/actions_rb.html +0 -134
- data/doc/files/lib/zyps/conditions_rb.html +0 -134
- data/doc/files/lib/zyps/environmental_factors_rb.html +0 -134
- data/doc/files/lib/zyps/views/trails_rb.html +0 -134
- data/doc/files/lib/zyps_rb.html +0 -134
- data/doc/fr_class_index.html +0 -53
- data/doc/fr_file_index.html +0 -34
- data/doc/fr_method_index.html +0 -88
- data/doc/index.html +0 -24
- 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. <http://fsf.org/>
|
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, "this License" refers to version 3 of the GNU Lesser
|
90
|
-
</pre>
|
91
|
-
<p>
|
92
|
-
General Public License, and the "GNU GPL" refers to version 3 of
|
93
|
-
the GNU General Public License.
|
94
|
-
</p>
|
95
|
-
<pre>
|
96
|
-
"The Library" 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 "Application" 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 "Combined Work" 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 "Linked
|
115
|
-
Version".
|
116
|
-
</p>
|
117
|
-
<pre>
|
118
|
-
The "Minimal Corresponding Source" 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 "Corresponding Application Code" 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 "or any later version" 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‘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>
|