Initial commit
[trapthecap.git] / doc / classes / .svn / text-base / Move.html.svn-base
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>Class: Move</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="classHeader">
50 <table class="header-table">
51 <tr class="top-aligned-row">
52 <td><strong>Class</strong></td>
53 <td class="class-name-in-header">Move</td>
54 </tr>
55 <tr class="top-aligned-row">
56 <td><strong>In:</strong></td>
57 <td>
58 <a href="../files/lib/libttc_rb.html">
59 lib/libttc.rb
60 </a>
61 <br />
62 </td>
63 </tr>
64
65 <tr class="top-aligned-row">
66 <td><strong>Parent:</strong></td>
67 <td>
68 Object
69 </td>
70 </tr>
71 </table>
72 </div>
73 <!-- banner header -->
74
75 <div id="bodyContent">
76
77
78
79 <div id="contextContent">
80
81 <div id="description">
82 <p>
83 A move in a game
84 </p>
85
86 </div>
87
88
89 </div>
90
91 <div id="method-list">
92 <h3 class="section-bar">Methods</h3>
93
94 <div class="name-list">
95 <a href="#M000032">new</a>&nbsp;&nbsp;
96 <a href="#M000034">to_s</a>&nbsp;&nbsp;
97 <a href="#M000035">to_str</a>&nbsp;&nbsp;
98 <a href="#M000033">via_base?</a>&nbsp;&nbsp;
99 </div>
100 </div>
101
102 </div>
103
104
105 <!-- if includes -->
106
107 <div id="section">
108
109
110
111
112
113 <div id="attribute-list">
114 <h3 class="section-bar">Attributes</h3>
115
116 <div class="name-list">
117 <table>
118 <tr class="top-aligned-row context-row">
119 <td class="context-item-name">destination</td>
120 <td class="context-item-value">&nbsp;[R]&nbsp;</td>
121 <td class="context-item-desc"></td>
122 </tr>
123 <tr class="top-aligned-row context-row">
124 <td class="context-item-name">piece</td>
125 <td class="context-item-value">&nbsp;[R]&nbsp;</td>
126 <td class="context-item-desc"></td>
127 </tr>
128 </table>
129 </div>
130 </div>
131
132
133
134 <!-- if method_list -->
135 <div id="methods">
136 <h3 class="section-bar">Public Class methods</h3>
137
138 <div id="method-M000032" class="method-detail">
139 <a name="M000032"></a>
140
141 <div class="method-heading">
142 <a href="Move.src/M000032.html" target="Code" class="method-signature"
143 onclick="popupCode('Move.src/M000032.html');return false;">
144 <span class="method-name">new</span><span class="method-args">(piece, destination, via_base = false)</span>
145 </a>
146 </div>
147
148 <div class="method-description">
149 </div>
150 </div>
151
152 <h3 class="section-bar">Public Instance methods</h3>
153
154 <div id="method-M000034" class="method-detail">
155 <a name="M000034"></a>
156
157 <div class="method-heading">
158 <a href="Move.src/M000034.html" target="Code" class="method-signature"
159 onclick="popupCode('Move.src/M000034.html');return false;">
160 <span class="method-name">to_s</span><span class="method-args">()</span>
161 </a>
162 </div>
163
164 <div class="method-description">
165 <p>
166 Write a move to a string Note the inverse, <a
167 href="String.html#M000053">String#to_move</a>, is defined below
168 </p>
169 </div>
170 </div>
171
172 <div id="method-M000035" class="method-detail">
173 <a name="M000035"></a>
174
175 <div class="method-heading">
176 <a href="Move.src/M000035.html" target="Code" class="method-signature"
177 onclick="popupCode('Move.src/M000035.html');return false;">
178 <span class="method-name">to_str</span><span class="method-args">()</span>
179 </a>
180 </div>
181
182 <div class="method-description">
183 </div>
184 </div>
185
186 <div id="method-M000033" class="method-detail">
187 <a name="M000033"></a>
188
189 <div class="method-heading">
190 <a href="Move.src/M000033.html" target="Code" class="method-signature"
191 onclick="popupCode('Move.src/M000033.html');return false;">
192 <span class="method-name">via_base?</span><span class="method-args">()</span>
193 </a>
194 </div>
195
196 <div class="method-description">
197 </div>
198 </div>
199
200
201 </div>
202
203
204 </div>
205
206
207 <div id="validator-badges">
208 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
209 </div>
210
211 </body>
212 </html>