28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■ index<br />

InvinciBagel animation (cont.)<br />

<strong>Java</strong> coding, 295<br />

testing, 295<br />

isLeft() method, 278<br />

isRight() method, 278<br />

run cycle (see Run cycle)<br />

run state, 276<br />

setImageState() method, 274<br />

setScaleX() method, 278<br />

wait state, 274–275<br />

InvinciBagel application, 123<br />

buttons<br />

pulse efficiency, 142<br />

.setOnAction() event-handling<br />

structure, 140–141<br />

UI design, 142<br />

.setImage() method, 139<br />

splashScreenTextArea.setImage() method, 140<br />

StackPane, 139<br />

InvinciBagel diagram, 159–160<br />

InvinciBagel.java class, 229, 252, 333, 365<br />

actor object creation<br />

handle() method, 242<br />

update() method, 243<br />

addCurrentCast() method, 369<br />

addGameActorNodes(), 237–238<br />

castDirector, 233<br />

collide() method, 366<br />

contextual information, 254<br />

Bagel() constructor method, 255<br />

createGameActors() method, 256<br />

is() methods, 257<br />

protected access, 255<br />

update() method, 257<br />

createCastingDirection(), 238<br />

createGameActors() method, 235<br />

createSceneEventHandling() method, 231<br />

createSplashScreenNodes(), 240<br />

createStartGameLoop() method, 239<br />

creation, 230<br />

enemy object, 410<br />

GamePlayLoop() constructor method, 258<br />

iBagel Bagel() constructor method, 368<br />

loadAudioAssets() method, 335<br />

loadImageAssets() method, 234<br />

logical methods structures, 230–231<br />

moveInvinciBagel() method, 265<br />

playiSound() methods, 338<br />

private access control keyword, 369<br />

Projectile object, 410<br />

remove static modifier<br />

boolean KeyEvent variables, 252<br />

Getter and Setter dialog, 253<br />

setBoundaries() method, 267<br />

setXYLocation() method, 266<br />

StackPane object, 261<br />

start() method, 230<br />

static keyword, 233<br />

SVG data parsing algorithm, 368<br />

testing, 246, 270, 368<br />

URL class, 334<br />

InvinciBagel Prop zero (iPRO), 310<br />

InvinciBagel sprite images, 167<br />

isDown() method, 277<br />

isUp() method, 277<br />

• J<br />

<strong>Java</strong> 8, 43<br />

APIs level, 47<br />

classes<br />

extends keyword, 48<br />

init() method, 49<br />

inner classes, 50<br />

InvinciBagel class, 49<br />

modifier keywords, 48<br />

nested class, 50<br />

stop() method, 49<br />

code blocks delimiters, 46<br />

conditional control structures, 65<br />

decision making, 66<br />

looping, 68<br />

data field<br />

constants, 56<br />

variables, 55<br />

data types<br />

primitive data types, 60<br />

reference data types, 61<br />

<strong>Java</strong>doc comment, 45<br />

methods<br />

constructor method, 54<br />

object method, 53<br />

start() method, 52<br />

modifier keywords (see Modifier keywords)<br />

multiline comments, 44<br />

objects<br />

GamePiece() constructor method, 73<br />

InvinciBagel object, 69<br />

operators, 61<br />

arithmetic operators, 62<br />

assignment operators, 64<br />

conditional operators, 65<br />

logical operators, 64<br />

relational operators, 63<br />

semicolon, 45<br />

single-line comment, 44<br />

<strong>Java</strong>FX 8 API, 75<br />

animation class, 85<br />

AnimationTimer class, 87–88<br />

collision detection, 88<br />

458<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!