zyps 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +0 -14
- data/bin/zyps +240 -28
- data/bin/zyps_demo +18 -2
- data/doc/classes/Behavior.html +205 -0
- data/doc/classes/Behavior.src/M000003.html +18 -0
- data/doc/classes/Behavior.src/M000004.html +19 -0
- data/doc/classes/Clock.html +165 -0
- data/doc/classes/Clock.src/M000026.html +18 -0
- data/doc/classes/Clock.src/M000027.html +21 -0
- data/doc/classes/Color.html +299 -0
- data/doc/classes/Color.src/M000015.html +18 -0
- data/doc/classes/Color.src/M000016.html +16 -0
- data/doc/classes/Color.src/M000017.html +16 -0
- data/doc/classes/Color.src/M000018.html +16 -0
- data/doc/classes/Color.src/M000019.html +18 -0
- data/doc/classes/Color.src/M000020.html +22 -0
- data/doc/classes/Creature.html +176 -0
- data/doc/classes/Creature.src/M000005.html +19 -0
- data/doc/classes/Environment.html +203 -0
- data/doc/classes/Environment.src/M000028.html +19 -0
- data/doc/classes/Environment.src/M000029.html +45 -0
- data/doc/classes/EnvironmentalFactor.html +167 -0
- data/doc/classes/EnvironmentalFactor.src/M000021.html +18 -0
- data/doc/classes/GameObject.html +256 -0
- data/doc/classes/GameObject.src/M000022.html +20 -0
- data/doc/classes/GameObject.src/M000023.html +19 -0
- data/doc/classes/GameObject.src/M000024.html +16 -0
- data/doc/classes/GameObject.src/M000025.html +16 -0
- data/doc/classes/Location.html +167 -0
- data/doc/classes/Location.src/M000014.html +18 -0
- data/doc/classes/Responsive.html +143 -0
- data/doc/classes/Responsive.src/M000030.html +18 -0
- data/doc/classes/TrailsView.html +217 -0
- data/doc/classes/TrailsView.src/M000001.html +40 -0
- data/doc/classes/TrailsView.src/M000002.html +76 -0
- data/doc/classes/Utility.html +264 -0
- data/doc/classes/Utility.src/M000031.html +26 -0
- data/doc/classes/Utility.src/M000032.html +22 -0
- data/doc/classes/Utility.src/M000033.html +18 -0
- data/doc/classes/Utility.src/M000034.html +21 -0
- data/doc/classes/Utility.src/M000035.html +25 -0
- data/doc/classes/Utility.src/M000036.html +21 -0
- data/doc/classes/Utility.src/M000037.html +22 -0
- data/doc/classes/Vector.html +281 -0
- data/doc/classes/Vector.src/M000006.html +19 -0
- data/doc/classes/Vector.src/M000007.html +16 -0
- data/doc/classes/Vector.src/M000008.html +21 -0
- data/doc/classes/Vector.src/M000009.html +16 -0
- data/doc/classes/Vector.src/M000010.html +18 -0
- data/doc/classes/Vector.src/M000011.html +16 -0
- data/doc/classes/Vector.src/M000012.html +18 -0
- data/doc/classes/Vector.src/M000013.html +25 -0
- data/doc/created.rid +1 -0
- data/doc/files/COPYING_LESSER_txt.html +311 -0
- data/doc/files/COPYING_txt.html +1003 -0
- data/doc/files/README_txt.html +214 -0
- data/doc/files/lib/zyps/views/trails_rb.html +134 -0
- data/doc/files/lib/zyps_rb.html +134 -0
- data/doc/fr_class_index.html +38 -0
- data/doc/fr_file_index.html +31 -0
- data/doc/fr_method_index.html +63 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/zyps/views/trails.rb +3 -3
- metadata +81 -6
- data/bin/zyps_server +0 -178
@@ -0,0 +1,214 @@
|
|
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: README.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>README.txt</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>README.txt
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Wed Aug 15 00:58:30 -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
|
+
<h2>Synopsis</h2>
|
73
|
+
<p>
|
74
|
+
Zyps - A simulation/game with autonomous creatures.
|
75
|
+
</p>
|
76
|
+
<h2>Description</h2>
|
77
|
+
<p>
|
78
|
+
Zyps are small creatures with minds of their own. You can create dozens of
|
79
|
+
Zyps, then decide how each will act. (Will it run away from the others?
|
80
|
+
Follow them? Eat them for lunch?) You can combine rules and actions to
|
81
|
+
create very complex behaviors.
|
82
|
+
</p>
|
83
|
+
<h2>Requirements</h2>
|
84
|
+
<ul>
|
85
|
+
<li>Ruby: <a href="http://www.ruby-lang.org">www.ruby-lang.org</a>
|
86
|
+
|
87
|
+
</li>
|
88
|
+
<li>Ruby-GNOME2: <a
|
89
|
+
href="http://ruby-gnome2.sourceforge.jp">ruby-gnome2.sourceforge.jp</a>
|
90
|
+
|
91
|
+
</li>
|
92
|
+
<li>Rake (to build from source): <a
|
93
|
+
href="http://rake.rubyforge.org">rake.rubyforge.org</a>
|
94
|
+
|
95
|
+
</li>
|
96
|
+
</ul>
|
97
|
+
<h2>Installation</h2>
|
98
|
+
<p>
|
99
|
+
Make sure you have administrative privileges, then type the following at a
|
100
|
+
command line:
|
101
|
+
</p>
|
102
|
+
<pre>
|
103
|
+
gem install zyps
|
104
|
+
</pre>
|
105
|
+
<h2>Usage</h2>
|
106
|
+
<p>
|
107
|
+
Ensure Ruby-GNOME2 is installed and working.
|
108
|
+
</p>
|
109
|
+
<p>
|
110
|
+
At a command line, type:
|
111
|
+
</p>
|
112
|
+
<pre>
|
113
|
+
zyps
|
114
|
+
</pre>
|
115
|
+
<p>
|
116
|
+
To see a tutorial on the library, at a command line, type:
|
117
|
+
</p>
|
118
|
+
<pre>
|
119
|
+
zyps_demo
|
120
|
+
</pre>
|
121
|
+
<h2>Development</h2>
|
122
|
+
<p>
|
123
|
+
Source code and documentation are available via the project site (<a
|
124
|
+
href="http://jay.mcgavren.com/zyps">jay.mcgavren.com/zyps</a>).
|
125
|
+
</p>
|
126
|
+
<p>
|
127
|
+
Once downloaded, change into the project directory. For a list of targets,
|
128
|
+
run:
|
129
|
+
</p>
|
130
|
+
<pre>
|
131
|
+
rake -T
|
132
|
+
</pre>
|
133
|
+
<p>
|
134
|
+
To build a gem:
|
135
|
+
</p>
|
136
|
+
<pre>
|
137
|
+
rake
|
138
|
+
</pre>
|
139
|
+
<p>
|
140
|
+
To see the demo:
|
141
|
+
</p>
|
142
|
+
<pre>
|
143
|
+
rake demo
|
144
|
+
</pre>
|
145
|
+
<p>
|
146
|
+
To create a "doc" subdirectory with API documentation:
|
147
|
+
</p>
|
148
|
+
<pre>
|
149
|
+
rake rdoc
|
150
|
+
</pre>
|
151
|
+
<p>
|
152
|
+
Also see "bin/zyps_demo" and the "test" subfolder in
|
153
|
+
the project directory for sample code.
|
154
|
+
</p>
|
155
|
+
<h2>Thanks</h2>
|
156
|
+
<p>
|
157
|
+
The GUI is provided via Ruby-GNOME2. Thanks to its authors for their
|
158
|
+
considerable effort in making their library easy to use.
|
159
|
+
</p>
|
160
|
+
<h2>Author</h2>
|
161
|
+
<p>
|
162
|
+
Copyright 2007 Jay McGavren, jay@mcgavren.com
|
163
|
+
</p>
|
164
|
+
<h2>License</h2>
|
165
|
+
<p>
|
166
|
+
Zyps is free software; you can redistribute it and/or modify it under the
|
167
|
+
terms of the GNU Lesser General Public License as published by the Free
|
168
|
+
Software Foundation; either version 3 of the License, or (at your option)
|
169
|
+
any later version.
|
170
|
+
</p>
|
171
|
+
<p>
|
172
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
173
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
174
|
+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
175
|
+
more details.
|
176
|
+
</p>
|
177
|
+
<p>
|
178
|
+
You should have received a copy of the GNU Lesser General Public License
|
179
|
+
along with this program. If not, see <<a
|
180
|
+
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
181
|
+
</p>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
</div>
|
187
|
+
|
188
|
+
|
189
|
+
</div>
|
190
|
+
|
191
|
+
|
192
|
+
<!-- if includes -->
|
193
|
+
|
194
|
+
<div id="section">
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<!-- if method_list -->
|
204
|
+
|
205
|
+
|
206
|
+
</div>
|
207
|
+
|
208
|
+
|
209
|
+
<div id="validator-badges">
|
210
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</body>
|
214
|
+
</html>
|
@@ -0,0 +1,134 @@
|
|
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: trails.rb</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>trails.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/zyps/views/trails.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Wed Aug 15 20:18:44 -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
|
+
<p>
|
73
|
+
Copyright 2007 Jay McGavren, jay@mcgavren.com.
|
74
|
+
</p>
|
75
|
+
<p>
|
76
|
+
This file is part of Zyps.
|
77
|
+
</p>
|
78
|
+
<p>
|
79
|
+
Zyps is free software; you can redistribute it and/or modify it under the
|
80
|
+
terms of the GNU Lesser General Public License as published by the Free
|
81
|
+
Software Foundation; either version 3 of the License, or (at your option)
|
82
|
+
any later version.
|
83
|
+
</p>
|
84
|
+
<p>
|
85
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
86
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
87
|
+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
88
|
+
more details.
|
89
|
+
</p>
|
90
|
+
<p>
|
91
|
+
You should have received a copy of the GNU Lesser General Public License
|
92
|
+
along with this program. If not, see <<a
|
93
|
+
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
94
|
+
</p>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="requires-list">
|
99
|
+
<h3 class="section-bar">Required files</h3>
|
100
|
+
|
101
|
+
<div class="name-list">
|
102
|
+
gtk2
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<!-- if includes -->
|
113
|
+
|
114
|
+
<div id="section">
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- if method_list -->
|
124
|
+
|
125
|
+
|
126
|
+
</div>
|
127
|
+
|
128
|
+
|
129
|
+
<div id="validator-badges">
|
130
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
</body>
|
134
|
+
</html>
|
@@ -0,0 +1,134 @@
|
|
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: zyps.rb</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>zyps.rb</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>lib/zyps.rb
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Mon Aug 06 20:52:06 -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
|
+
<p>
|
73
|
+
Copyright 2007 Jay McGavren, jay@mcgavren.com.
|
74
|
+
</p>
|
75
|
+
<p>
|
76
|
+
This file is part of Zyps.
|
77
|
+
</p>
|
78
|
+
<p>
|
79
|
+
Zyps is free software; you can redistribute it and/or modify it under the
|
80
|
+
terms of the GNU Lesser General Public License as published by the Free
|
81
|
+
Software Foundation; either version 3 of the License, or (at your option)
|
82
|
+
any later version.
|
83
|
+
</p>
|
84
|
+
<p>
|
85
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
86
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
87
|
+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
88
|
+
more details.
|
89
|
+
</p>
|
90
|
+
<p>
|
91
|
+
You should have received a copy of the GNU Lesser General Public License
|
92
|
+
along with this program. If not, see <<a
|
93
|
+
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
|
94
|
+
</p>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="requires-list">
|
99
|
+
<h3 class="section-bar">Required files</h3>
|
100
|
+
|
101
|
+
<div class="name-list">
|
102
|
+
observer
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<!-- if includes -->
|
113
|
+
|
114
|
+
<div id="section">
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- if method_list -->
|
124
|
+
|
125
|
+
|
126
|
+
</div>
|
127
|
+
|
128
|
+
|
129
|
+
<div id="validator-badges">
|
130
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
</body>
|
134
|
+
</html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Classes
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Classes</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Classes</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="classes/Behavior.html">Behavior</a><br />
|
24
|
+
<a href="classes/Clock.html">Clock</a><br />
|
25
|
+
<a href="classes/Color.html">Color</a><br />
|
26
|
+
<a href="classes/Creature.html">Creature</a><br />
|
27
|
+
<a href="classes/Environment.html">Environment</a><br />
|
28
|
+
<a href="classes/EnvironmentalFactor.html">EnvironmentalFactor</a><br />
|
29
|
+
<a href="classes/GameObject.html">GameObject</a><br />
|
30
|
+
<a href="classes/Location.html">Location</a><br />
|
31
|
+
<a href="classes/Responsive.html">Responsive</a><br />
|
32
|
+
<a href="classes/TrailsView.html">TrailsView</a><br />
|
33
|
+
<a href="classes/Utility.html">Utility</a><br />
|
34
|
+
<a href="classes/Vector.html">Vector</a><br />
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</body>
|
38
|
+
</html>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Files
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Files</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Files</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="files/COPYING_LESSER_txt.html">COPYING.LESSER.txt</a><br />
|
24
|
+
<a href="files/COPYING_txt.html">COPYING.txt</a><br />
|
25
|
+
<a href="files/README_txt.html">README.txt</a><br />
|
26
|
+
<a href="files/lib/zyps_rb.html">lib/zyps.rb</a><br />
|
27
|
+
<a href="files/lib/zyps/views/trails_rb.html">lib/zyps/views/trails.rb</a><br />
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
3
|
+
<!DOCTYPE html
|
4
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
+
|
7
|
+
<!--
|
8
|
+
|
9
|
+
Methods
|
10
|
+
|
11
|
+
-->
|
12
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
13
|
+
<head>
|
14
|
+
<title>Methods</title>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
16
|
+
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
17
|
+
<base target="docwin" />
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="index">
|
21
|
+
<h1 class="section-bar">Methods</h1>
|
22
|
+
<div id="index-entries">
|
23
|
+
<a href="classes/Vector.html#M000013">+ (Vector)</a><br />
|
24
|
+
<a href="classes/Color.html#M000020">+ (Color)</a><br />
|
25
|
+
<a href="classes/Color.html#M000019"><=> (Color)</a><br />
|
26
|
+
<a href="classes/Responsive.html#M000030">act (Responsive)</a><br />
|
27
|
+
<a href="classes/GameObject.html#M000024">age (GameObject)</a><br />
|
28
|
+
<a href="classes/GameObject.html#M000025">age= (GameObject)</a><br />
|
29
|
+
<a href="classes/Color.html#M000018">blue= (Color)</a><br />
|
30
|
+
<a href="classes/Utility.html#M000035">constrain_value (Utility)</a><br />
|
31
|
+
<a href="classes/Clock.html#M000027">elapsed_time (Clock)</a><br />
|
32
|
+
<a href="classes/Utility.html#M000031">find_angle (Utility)</a><br />
|
33
|
+
<a href="classes/Utility.html#M000032">find_distance (Utility)</a><br />
|
34
|
+
<a href="classes/Utility.html#M000036">find_reflection_angle (Utility)</a><br />
|
35
|
+
<a href="classes/Color.html#M000017">green= (Color)</a><br />
|
36
|
+
<a href="classes/Utility.html#M000037">inside_box? (Utility)</a><br />
|
37
|
+
<a href="classes/Environment.html#M000029">interact (Environment)</a><br />
|
38
|
+
<a href="classes/GameObject.html#M000023">move (GameObject)</a><br />
|
39
|
+
<a href="classes/Vector.html#M000006">new (Vector)</a><br />
|
40
|
+
<a href="classes/Behavior.html#M000003">new (Behavior)</a><br />
|
41
|
+
<a href="classes/Creature.html#M000005">new (Creature)</a><br />
|
42
|
+
<a href="classes/Location.html#M000014">new (Location)</a><br />
|
43
|
+
<a href="classes/EnvironmentalFactor.html#M000021">new (EnvironmentalFactor)</a><br />
|
44
|
+
<a href="classes/GameObject.html#M000022">new (GameObject)</a><br />
|
45
|
+
<a href="classes/Color.html#M000015">new (Color)</a><br />
|
46
|
+
<a href="classes/TrailsView.html#M000001">new (TrailsView)</a><br />
|
47
|
+
<a href="classes/Environment.html#M000028">new (Environment)</a><br />
|
48
|
+
<a href="classes/Clock.html#M000026">new (Clock)</a><br />
|
49
|
+
<a href="classes/Behavior.html#M000004">perform (Behavior)</a><br />
|
50
|
+
<a href="classes/Vector.html#M000007">pitch (Vector)</a><br />
|
51
|
+
<a href="classes/Vector.html#M000008">pitch= (Vector)</a><br />
|
52
|
+
<a href="classes/Color.html#M000016">red= (Color)</a><br />
|
53
|
+
<a href="classes/Utility.html#M000033">to_degrees (Utility)</a><br />
|
54
|
+
<a href="classes/Utility.html#M000034">to_radians (Utility)</a><br />
|
55
|
+
<a href="classes/TrailsView.html#M000002">update (TrailsView)</a><br />
|
56
|
+
<a href="classes/Vector.html#M000009">x (Vector)</a><br />
|
57
|
+
<a href="classes/Vector.html#M000010">x= (Vector)</a><br />
|
58
|
+
<a href="classes/Vector.html#M000011">y (Vector)</a><br />
|
59
|
+
<a href="classes/Vector.html#M000012">y= (Vector)</a><br />
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</body>
|
63
|
+
</html>
|
data/doc/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
5
|
+
|
6
|
+
<!--
|
7
|
+
|
8
|
+
Zyps - A simulation/game with autonomous creatures
|
9
|
+
|
10
|
+
-->
|
11
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
12
|
+
<head>
|
13
|
+
<title>Zyps - A simulation/game with autonomous creatures</title>
|
14
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
15
|
+
</head>
|
16
|
+
<frameset rows="20%, 80%">
|
17
|
+
<frameset cols="25%,35%,45%">
|
18
|
+
<frame src="fr_file_index.html" title="Files" name="Files" />
|
19
|
+
<frame src="fr_class_index.html" name="Classes" />
|
20
|
+
<frame src="fr_method_index.html" name="Methods" />
|
21
|
+
</frameset>
|
22
|
+
<frame src="files/README_txt.html" name="docwin" />
|
23
|
+
</frameset>
|
24
|
+
</html>
|