28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8 ■ Creating Your Actor Engine: Design the Characters for Your Game and Define Their Capabilities<br />

public double getDamage() {<br />

return damage;<br />

}<br />

public void setDamage(double damage) {<br />

this.damage = damage;<br />

}<br />

public double getOffsetX() {<br />

return offsetX;<br />

}<br />

public void setOffsetX(double offsetX) {<br />

this.offsetX = offsetX;<br />

}<br />

public double getOffsetY() {<br />

return offsetY;<br />

}<br />

public void setOffsetY(double offsetY) {<br />

this.offsetY = offsetY;<br />

}<br />

public float getBoundScale() {<br />

return boundScale;<br />

}<br />

public void setBoundScale(float boundScale) {<br />

this.boundScale = boundScale;<br />

}<br />

public float getBoundRot() {<br />

return boundRot;<br />

}<br />

public void setBoundRot(float boundRot) {<br />

this.boundRot = boundRot;<br />

}<br />

public float getFriction() {<br />

return friction;<br />

}<br />

public void setFriction(float friction) {<br />

this.friction = friction;<br />

}<br />

public float getGravity() {<br />

return gravity;<br />

}<br />

184<br />

www.it-ebooks.info

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

Saved successfully!

Ooh no, something went wrong!