//package homework2; /** * MV3500 * * Entity * * @author Douglas Yamashita de Moura * @version 20180227 * */ public class YamashitaDeMouraEntity { private String name; private float x; private float y; private float z; private float speed; public YamashitaDeMouraEntity (String name, float x, float y, float z, float speed) { this.name = name; this.x = x; this.y = y; this.z = z; this.speed = speed; } /** * @return the x */ public float getX() { return x; } /** * @param x the x to set */ public void setX(float x) { this.x = x; } /** * @return the y */ public float getY() { return y; } /** * @param y the y to set */ public void setY(float y) { this.y = y; } /** * @return the z */ public float getZ() { return z; } /** * @param z the z to set */ public void setZ(float z) { this.z = z; } /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the velocity */ public float getVelocity() { return speed; } /** * @param velocity the velocity to set */ public void setVelocity(float velocity) { this.speed = velocity; } }