W

wake locks, 158-159 WakeLock class, 158, 223-226,

283-284, 286 WakeLock.acquire( ) method, 159 WakeLock.release( ) method, 159 walkanim.png, 426

walkingTime, 425 Wavefront OBJ format, 565-566 Web, game development resources on, 640

while loop, 259, 552 width parameter, 427 window management, 71 Window management module, 70 World class, 255-259, 467-475, 604-610 collision detection and response, 472-474

determining when game is over, 257 generating, 468-470 implementing, 257-259 placing stains, 256 time-based movement, 255-256 updating, 470-472 World instance, 261-262, 476-478 World signals, 263 world space, 326-328 World stores, 263

WORLD_HEIGHT constant, 388, 404,

425,467 World.java file, 604

WorldListener class, 468, 473, 476-477 WorldListener interface, 604 WorldListener.jump( ) method, 473 WorldRender class, 617-622 WorldRenderer class, 482-486 WorldRenderer instance, 479 WorldRenderer.java file, 617 WorldRenderer.render( ) method, 615, 622

WorldRenderer.renderInvaders( )

method, 622 WorldRenderer.renderShip( ) method, 622

World.score, 261 WORLD_STATE_NEXT_LEVEL

constant, 474 World.update( ) method, 472, 610 WORLD_WIDTH constant, 388, 425, 467

worldX, 361 worldY, 362

writeTextFile( ) method, 149

0 0

Post a comment