Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1107 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!-- NewPage -->
3
<html lang="en">
4
<head>
5
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:46 CET 2013 -->
6
<title>com.badlogic.gdx (libgdx API)</title>
7
<meta name="date" content="2013-11-03">
8
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
9
</head>
10
<body>
11
<script type="text/javascript"><!--
12
    if (location.href.indexOf('is-external=true') == -1) {
13
        parent.document.title="com.badlogic.gdx (libgdx API)";
14
    }
15
//-->
16
</script>
17
<noscript>
18
<div>JavaScript is disabled on your browser.</div>
19
</noscript>
20
<!-- ========= START OF TOP NAVBAR ======= -->
21
<div class="topNav"><a name="navbar_top">
22
<!--   -->
23
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24
<!--   -->
25
</a>
26
<ul class="navList" title="Navigation">
27
<li><a href="../../../overview-summary.html">Overview</a></li>
28
<li class="navBarCell1Rev">Package</li>
29
<li>Class</li>
30
<li><a href="package-use.html">Use</a></li>
31
<li><a href="package-tree.html">Tree</a></li>
32
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
33
<li><a href="../../../index-all.html">Index</a></li>
34
<li><a href="../../../help-doc.html">Help</a></li>
35
</ul>
36
<div class="aboutLanguage"><em>
37
                                libgdx API
38
                                <style>
39
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
40
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
41
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
42
                                .TableHeadingColor { background:#EEEEFF; }
43
                                a { text-decoration:none }
44
                                a:hover { text-decoration:underline }
45
                                a:link, a:visited { color:blue }
46
                                table { border:0px }
47
                                .TableRowColor td:first-child { border-left:1px solid black }
48
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
49
                                hr { border:0px; border-bottom:1px solid #333366; }
50
                                </style>
51
                        </em></div>
52
</div>
53
<div class="subNav">
54
<ul class="navList">
55
<li>Prev Package</li>
56
<li><a href="../../../com/badlogic/gdx/assets/package-summary.html">Next Package</a></li>
57
</ul>
58
<ul class="navList">
59
<li><a href="../../../index.html?com/badlogic/gdx/package-summary.html" target="_top">Frames</a></li>
60
<li><a href="package-summary.html" target="_top">No Frames</a></li>
61
</ul>
62
<ul class="navList" id="allclasses_navbar_top">
63
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
64
</ul>
65
<div>
66
<script type="text/javascript"><!--
67
  allClassesLink = document.getElementById("allclasses_navbar_top");
68
  if(window==top) {
69
    allClassesLink.style.display = "block";
70
  }
71
  else {
72
    allClassesLink.style.display = "none";
73
  }
74
  //-->
75
</script>
76
</div>
77
<a name="skip-navbar_top">
78
<!--   -->
79
</a></div>
80
<!-- ========= END OF TOP NAVBAR ========= -->
81
<div class="header">
82
<h1 title="Package" class="title">Package&nbsp;com.badlogic.gdx</h1>
83
</div>
84
<div class="contentContainer">
85
<ul class="blockList">
86
<li class="blockList">
87
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
88
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
89
<tr>
90
<th class="colFirst" scope="col">Interface</th>
91
<th class="colLast" scope="col">Description</th>
92
</tr>
93
<tbody>
94
<tr class="altColor">
95
<td class="colFirst"><a href="../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx">Application</a></td>
96
<td class="colLast">
97
<div class="block">
98
 An <code>Application</code> is the main entry point of your project.</div>
99
</td>
100
</tr>
101
<tr class="rowColor">
102
<td class="colFirst"><a href="../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx">ApplicationListener</a></td>
103
<td class="colLast">
104
<div class="block">
105
 An <code>ApplicationListener</code> is called when the <a href="../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx"><code>Application</code></a> is created, resumed, rendering, paused or destroyed.</div>
106
</td>
107
</tr>
108
<tr class="altColor">
109
<td class="colFirst"><a href="../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx">Audio</a></td>
110
<td class="colLast">
111
<div class="block">This interface encapsulates the creation and management of audio resources.</div>
112
</td>
113
</tr>
114
<tr class="rowColor">
115
<td class="colFirst"><a href="../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx">Files</a></td>
116
<td class="colLast">
117
<div class="block">Provides standard access to the filesystem, classpath, Android SD card, and Android assets directory.</div>
118
</td>
119
</tr>
120
<tr class="altColor">
121
<td class="colFirst"><a href="../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx">Graphics</a></td>
122
<td class="colLast">
123
<div class="block">
124
 This interface encapsulates communication with the graphics processor.</div>
125
</td>
126
</tr>
127
<tr class="rowColor">
128
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx">Input</a></td>
129
<td class="colLast">
130
<div class="block">
131
 Interface to the input facilities.</div>
132
</td>
133
</tr>
134
<tr class="altColor">
135
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.TextInputListener.html" title="interface in com.badlogic.gdx">Input.TextInputListener</a></td>
136
<td class="colLast">
137
<div class="block">Callback interface for <a href="../../../com/badlogic/gdx/Input.html#getTextInput(com.badlogic.gdx.Input.TextInputListener, java.lang.String, java.lang.String)"><code>Input.getTextInput(TextInputListener, String, String)</code></a></div>
138
</td>
139
</tr>
140
<tr class="rowColor">
141
<td class="colFirst"><a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx">InputProcessor</a></td>
142
<td class="colLast">
143
<div class="block">An InputProcessor is used to receive input events from the keyboard and the touch screen (mouse on the desktop).</div>
144
</td>
145
</tr>
146
<tr class="altColor">
147
<td class="colFirst"><a href="../../../com/badlogic/gdx/LifecycleListener.html" title="interface in com.badlogic.gdx">LifecycleListener</a></td>
148
<td class="colLast">
149
<div class="block">A LifecycleListener can be added to an <a href="../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx"><code>Application</code></a> via
150
 <a href="../../../com/badlogic/gdx/Application.html#addLifecycleListener(com.badlogic.gdx.LifecycleListener)"><code>Application.addLifecycleListener(LifecycleListener)</code></a>.</div>
151
</td>
152
</tr>
153
<tr class="rowColor">
154
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx">Net</a></td>
155
<td class="colLast">
156
<div class="block">Provides methods to perform networking operations, such as simple HTTP get and post requests, and TCP server/client socket
157
 communication.</div>
158
</td>
159
</tr>
160
<tr class="altColor">
161
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.HttpMethods.html" title="interface in com.badlogic.gdx">Net.HttpMethods</a></td>
162
<td class="colLast">
163
<div class="block">Provides common HTTP methods to use when creating a <a href="../../../com/badlogic/gdx/Net.HttpRequest.html" title="class in com.badlogic.gdx"><code>Net.HttpRequest</code></a>.</div>
164
</td>
165
</tr>
166
<tr class="rowColor">
167
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.HttpResponse.html" title="interface in com.badlogic.gdx">Net.HttpResponse</a></td>
168
<td class="colLast">
169
<div class="block">HTTP response interface with methods to get the response data as a byte[], a <code>String</code> or an <code>InputStream</code>.</div>
170
</td>
171
</tr>
172
<tr class="altColor">
173
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.HttpResponseListener.html" title="interface in com.badlogic.gdx">Net.HttpResponseListener</a></td>
174
<td class="colLast">
175
<div class="block">Listener to be able to do custom logic once the <a href="../../../com/badlogic/gdx/Net.HttpResponse.html" title="interface in com.badlogic.gdx"><code>Net.HttpResponse</code></a> is ready to be processed, register it with
176
 <a href="../../../com/badlogic/gdx/Net.html#sendHttpRequest(com.badlogic.gdx.Net.HttpRequest, com.badlogic.gdx.Net.HttpResponseListener)"><code>Net.sendHttpRequest(HttpRequest, HttpResponseListener)</code></a>.</div>
177
</td>
178
</tr>
179
<tr class="rowColor">
180
<td class="colFirst"><a href="../../../com/badlogic/gdx/Preferences.html" title="interface in com.badlogic.gdx">Preferences</a></td>
181
<td class="colLast">
182
<div class="block">
183
 A Preference instance is a hash map holding different values.</div>
184
</td>
185
</tr>
186
<tr class="altColor">
187
<td class="colFirst"><a href="../../../com/badlogic/gdx/Screen.html" title="interface in com.badlogic.gdx">Screen</a></td>
188
<td class="colLast">
189
<div class="block">
190
 Represents one of many application screens, such as a main menu, a settings menu, the game screen and so on.</div>
191
</td>
192
</tr>
193
</tbody>
194
</table>
195
</li>
196
<li class="blockList">
197
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
198
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
199
<tr>
200
<th class="colFirst" scope="col">Class</th>
201
<th class="colLast" scope="col">Description</th>
202
</tr>
203
<tbody>
204
<tr class="altColor">
205
<td class="colFirst"><a href="../../../com/badlogic/gdx/ApplicationAdapter.html" title="class in com.badlogic.gdx">ApplicationAdapter</a></td>
206
<td class="colLast">
207
<div class="block">Convenience implementation of <a href="../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx"><code>ApplicationListener</code></a>.</div>
208
</td>
209
</tr>
210
<tr class="rowColor">
211
<td class="colFirst"><a href="../../../com/badlogic/gdx/Game.html" title="class in com.badlogic.gdx">Game</a></td>
212
<td class="colLast">
213
<div class="block">
214
 An <a href="../../../com/badlogic/gdx/ApplicationListener.html" title="interface in com.badlogic.gdx"><code>ApplicationListener</code></a> that delegates to a <a href="../../../com/badlogic/gdx/Screen.html" title="interface in com.badlogic.gdx"><code>Screen</code></a>.</div>
215
</td>
216
</tr>
217
<tr class="altColor">
218
<td class="colFirst"><a href="../../../com/badlogic/gdx/Gdx.html" title="class in com.badlogic.gdx">Gdx</a></td>
219
<td class="colLast">
220
<div class="block">Environment class holding references to the <a href="../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx"><code>Application</code></a>, <a href="../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx"><code>Graphics</code></a>, <a href="../../../com/badlogic/gdx/Audio.html" title="interface in com.badlogic.gdx"><code>Audio</code></a>, <a href="../../../com/badlogic/gdx/Files.html" title="interface in com.badlogic.gdx"><code>Files</code></a> and
221
 <a href="../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx"><code>Input</code></a> instances.</div>
222
</td>
223
</tr>
224
<tr class="rowColor">
225
<td class="colFirst"><a href="../../../com/badlogic/gdx/Graphics.BufferFormat.html" title="class in com.badlogic.gdx">Graphics.BufferFormat</a></td>
226
<td class="colLast">
227
<div class="block">Class describing the bits per pixel, depth buffer precision, stencil precision and number of MSAA samples.</div>
228
</td>
229
</tr>
230
<tr class="altColor">
231
<td class="colFirst"><a href="../../../com/badlogic/gdx/Graphics.DisplayMode.html" title="class in com.badlogic.gdx">Graphics.DisplayMode</a></td>
232
<td class="colLast">
233
<div class="block">Describe a fullscreen display mode</div>
234
</td>
235
</tr>
236
<tr class="rowColor">
237
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.Buttons.html" title="class in com.badlogic.gdx">Input.Buttons</a></td>
238
<td class="colLast">
239
<div class="block">Mouse buttons.</div>
240
</td>
241
</tr>
242
<tr class="altColor">
243
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.Keys.html" title="class in com.badlogic.gdx">Input.Keys</a></td>
244
<td class="colLast">
245
<div class="block">Keys.</div>
246
</td>
247
</tr>
248
<tr class="rowColor">
249
<td class="colFirst"><a href="../../../com/badlogic/gdx/InputAdapter.html" title="class in com.badlogic.gdx">InputAdapter</a></td>
250
<td class="colLast">
251
<div class="block">An adapter class for <a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx"><code>InputProcessor</code></a>.</div>
252
</td>
253
</tr>
254
<tr class="altColor">
255
<td class="colFirst"><a href="../../../com/badlogic/gdx/InputMultiplexer.html" title="class in com.badlogic.gdx">InputMultiplexer</a></td>
256
<td class="colLast">
257
<div class="block">An <a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx"><code>InputProcessor</code></a> that delegates to an ordered list of other InputProcessors.</div>
258
</td>
259
</tr>
260
<tr class="rowColor">
261
<td class="colFirst"><a href="../../../com/badlogic/gdx/InputProcessorQueue.html" title="class in com.badlogic.gdx">InputProcessorQueue</a></td>
262
<td class="colLast">
263
<div class="block">Queues events that are later passed to the wrapped <a href="../../../com/badlogic/gdx/InputProcessor.html" title="interface in com.badlogic.gdx"><code>InputProcessor</code></a>.</div>
264
</td>
265
</tr>
266
<tr class="altColor">
267
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.HttpRequest.html" title="class in com.badlogic.gdx">Net.HttpRequest</a></td>
268
<td class="colLast">
269
<div class="block">Contains getters and setters for the following parameters:
270
 
271
 <strong>httpMethod:</strong> GET or POST are most common, can use <a href="../../../com/badlogic/gdx/Net.HttpMethods.html" title="interface in com.badlogic.gdx"><code>HttpMethods</code></a> for static
272
 references
273
 <strong>url:</strong> the url
274
 <strong>headers:</strong> a map of the headers, setter can be called multiple times
275
 <strong>timeout:</strong> time spent trying to connect before giving up
276
 <strong>content:</strong> A string containing the data to be used when processing the HTTP request.
277
 
278
 
279
 Abstracts the concept of a HTTP Request:</div>
280
</td>
281
</tr>
282
<tr class="rowColor">
283
<td class="colFirst"><a href="../../../com/badlogic/gdx/ScreenAdapter.html" title="class in com.badlogic.gdx">ScreenAdapter</a></td>
284
<td class="colLast">
285
<div class="block">Convenience implementation of <a href="../../../com/badlogic/gdx/Screen.html" title="interface in com.badlogic.gdx"><code>Screen</code></a>.</div>
286
</td>
287
</tr>
288
<tr class="altColor">
289
<td class="colFirst"><a href="../../../com/badlogic/gdx/Version.html" title="class in com.badlogic.gdx">Version</a></td>
290
<td class="colLast">
291
<div class="block">The version of libgdx</div>
292
</td>
293
</tr>
294
</tbody>
295
</table>
296
</li>
297
<li class="blockList">
298
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
299
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
300
<tr>
301
<th class="colFirst" scope="col">Enum</th>
302
<th class="colLast" scope="col">Description</th>
303
</tr>
304
<tbody>
305
<tr class="altColor">
306
<td class="colFirst"><a href="../../../com/badlogic/gdx/Application.ApplicationType.html" title="enum in com.badlogic.gdx">Application.ApplicationType</a></td>
307
<td class="colLast">
308
<div class="block">Enumeration of possible <a href="../../../com/badlogic/gdx/Application.html" title="interface in com.badlogic.gdx"><code>Application</code></a> types</div>
309
</td>
310
</tr>
311
<tr class="rowColor">
312
<td class="colFirst"><a href="../../../com/badlogic/gdx/Files.FileType.html" title="enum in com.badlogic.gdx">Files.FileType</a></td>
313
<td class="colLast">
314
<div class="block">Indicates how to resolve a path to a file.</div>
315
</td>
316
</tr>
317
<tr class="altColor">
318
<td class="colFirst"><a href="../../../com/badlogic/gdx/Graphics.GraphicsType.html" title="enum in com.badlogic.gdx">Graphics.GraphicsType</a></td>
319
<td class="colLast">
320
<div class="block">Enumeration describing different types of <a href="../../../com/badlogic/gdx/Graphics.html" title="interface in com.badlogic.gdx"><code>Graphics</code></a> implementations.</div>
321
</td>
322
</tr>
323
<tr class="rowColor">
324
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.Orientation.html" title="enum in com.badlogic.gdx">Input.Orientation</a></td>
325
<td class="colLast">&nbsp;</td>
326
</tr>
327
<tr class="altColor">
328
<td class="colFirst"><a href="../../../com/badlogic/gdx/Input.Peripheral.html" title="enum in com.badlogic.gdx">Input.Peripheral</a></td>
329
<td class="colLast">
330
<div class="block">Enumeration of potentially available peripherals.</div>
331
</td>
332
</tr>
333
<tr class="rowColor">
334
<td class="colFirst"><a href="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx">Net.Protocol</a></td>
335
<td class="colLast">
336
<div class="block">Protocol used by <a href="../../../com/badlogic/gdx/Net.html#newServerSocket(com.badlogic.gdx.Net.Protocol, int, com.badlogic.gdx.net.ServerSocketHints)"><code>Net.newServerSocket(Protocol, int, ServerSocketHints)</code></a> and
337
 <a href="../../../com/badlogic/gdx/Net.html#newClientSocket(com.badlogic.gdx.Net.Protocol, java.lang.String, int, com.badlogic.gdx.net.SocketHints)"><code>Net.newClientSocket(Protocol, String, int, SocketHints)</code></a>.</div>
338
</td>
339
</tr>
340
</tbody>
341
</table>
342
</li>
343
</ul>
344
</div>
345
<!-- ======= START OF BOTTOM NAVBAR ====== -->
346
<div class="bottomNav"><a name="navbar_bottom">
347
<!--   -->
348
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
349
<!--   -->
350
</a>
351
<ul class="navList" title="Navigation">
352
<li><a href="../../../overview-summary.html">Overview</a></li>
353
<li class="navBarCell1Rev">Package</li>
354
<li>Class</li>
355
<li><a href="package-use.html">Use</a></li>
356
<li><a href="package-tree.html">Tree</a></li>
357
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
358
<li><a href="../../../index-all.html">Index</a></li>
359
<li><a href="../../../help-doc.html">Help</a></li>
360
</ul>
361
<div class="aboutLanguage"><em>libgdx API</em></div>
362
</div>
363
<div class="subNav">
364
<ul class="navList">
365
<li>Prev Package</li>
366
<li><a href="../../../com/badlogic/gdx/assets/package-summary.html">Next Package</a></li>
367
</ul>
368
<ul class="navList">
369
<li><a href="../../../index.html?com/badlogic/gdx/package-summary.html" target="_top">Frames</a></li>
370
<li><a href="package-summary.html" target="_top">No Frames</a></li>
371
</ul>
372
<ul class="navList" id="allclasses_navbar_bottom">
373
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
374
</ul>
375
<div>
376
<script type="text/javascript"><!--
377
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
378
  if(window==top) {
379
    allClassesLink.style.display = "block";
380
  }
381
  else {
382
    allClassesLink.style.display = "none";
383
  }
384
  //-->
385
</script>
386
</div>
387
<a name="skip-navbar_bottom">
388
<!--   -->
389
</a></div>
390
<!-- ======== END OF BOTTOM NAVBAR ======= -->
391
<p class="legalCopy"><small>
392
                                <div style="font-size:9pt"><i>
393
                                Copyright &copy; 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
394
                                </i></div>
395
                        </small></p>
396
</body>
397
</html>