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 />

• A<br />

ActionEvent object, 193<br />

Actor superclass, 165, 168, 299<br />

Actor() constructor method, 169, 173<br />

boolean data variables, 172<br />

double data variables, 171<br />

getter and setter methods, 174<br />

overloaded method, 169<br />

Prop subclasses (see Prop subclasses)<br />

setContent() method, 169<br />

update() method, 170<br />

addGameActorNodes()<br />

method, 237–238, 248<br />

addNodesToStackPane()<br />

method, 128, 143, 238, 241<br />

addStackPaneNodes() method, 138<br />

Antialiasing, 110<br />

ArrayList, 208<br />

class, 209<br />

object, 209<br />

addAll() method, 215<br />

addCurrentCast() method, 214<br />

COLLIDE_CHECKLIST, 218<br />

getCurrentCast() method, 214<br />

removeCurrentCast() method, 215<br />

resetCurrentCast() method, 216<br />

ASDW keys function<br />

coding, 289–290<br />

Getter and Setter methods, NetBeans<br />

Insert Code, 291, 293<br />

jump and evade animation, 293–294<br />

WSAD keys, 290<br />

Audacity, 13<br />

AudioClip, 323<br />

Audacity<br />

Export File dialog, 325<br />

non-destructive audio editing, 327<br />

waveform representation, 325<br />

class, 324<br />

InvinciBagel.java class<br />

loadAudioAssets() method, 335<br />

playAudioClip() method, 340<br />

playiSound() methods, 338<br />

URL class, 333<br />

loadAudioAssets() method, 323<br />

memory footprint, 327<br />

export assets, 332<br />

PCM, 327<br />

resolution, 328<br />

sampling frequency, 329<br />

stereo vs. mono audio, 331<br />

object, 324<br />

playAudioClip() method, 323<br />

setiSound() methods, 323<br />

Auto-attack engine, 393, 417<br />

addGameActorNodes() method, 446<br />

boolean variables, 424<br />

constructor methods, 446<br />

GamePlayLoop .handle() method, 423<br />

getter method, 449<br />

handle() method, 418<br />

iBagelLocation variable, 450<br />

if-else structure, 425<br />

initiateAttack() method, 419, 447<br />

nested if conditional structures, 426<br />

nextBoolean() method, 421, 447<br />

nextInt() method, 421<br />

randomNum.nextInt() method, 448<br />

shootProjectile() method, 426<br />

update() method, 418<br />

• B<br />

Background image<br />

loadImageAssets(), 413<br />

setImage() method, 413<br />

setVisible() method, 413<br />

455

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

Saved successfully!

Ooh no, something went wrong!