R

Random class, 163, 257, 468, 470 Random.nextFloat( ) method, 470 Random.nextInt( ) method, 163 raster-based, graphics, 80-82 readLines( ) method, 567, 570 ready.png, 231 recording audio, 76-77 Rect class, 171 Rectangle class, 574 rectangle collisions, 381-382 rectangles, 166 Rect.bottom field, 175 Rect.height( ) method, 175 Rect.right field, 175 Rect.width( ) method, 175 registered developers, becoming,

626-627 reload( ) method, 315, 446, 589 removeObject( ) method, 392 render( ) method, 332, 481, 483, 517,

519, 597, 619 renderBackground( ) method, 483 renderBob( ) method, 484 renderCastle( ) method, 486

Renderer implementation, 280 Renderer listener, 278 renderExplosion( ) method, 620-621 rendering continuous with SurfaceView class, 177-182 in UI thread, 160-163 numbers, 243-245 pipeline, 276-277 slow, 340-341 renderInvaders( ) method, 619-620 renderItems( ) method, 485 renderObjects( ) method, 484 renderPlatforms( ) method, 485 renderShields( ) method, 619, 621 renderShip( ) method, 619-620 renderShots( ) method, 619, 621 renderSquirrels( ) method, 485 RenderView class, 162, 173 RenderView.onDraw( ) method, 167 res/drawable folder, 106, 114-115, 232 res/drawable-hdpi folder, 115, 232 res/drawable-ldpi folder, 114, 232 res/drawable-mdpi folder, 115, 232 res/ folder, 34, 106, 114, 144 res/values/strings.xml file, 106 res/values/string.xml file, 106 resources, game development on Web, 640

Resume button, 67

rotate( ) method, 360, 527, 529, 555 rotation, 334-335 rotationParent member, 516 rotationY member, 516 Run Configurations option, Run As menu, 42 Run menu, 43, 45 run( ) method, 222 Runnable interface, 180 running applications, 39-42 Running state, 120 runtime, 8-9

RuntimeException, 188, 190, 192

0 0

Post a comment