public class Ball extends Object
Constructor and Description |
---|
Ball(int x,
int y,
int width) |
Modifier and Type | Method and Description |
---|---|
int |
getDx() |
int |
getDy() |
int |
getSpeed() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setDx(int dx) |
void |
setDy(int dy) |
void |
setSpeed(int speed) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
String |
toString() |
public int getY()
public void setY(int y)
public int getX()
public void setX(int x)
public int getWidth()
public void setWidth(int width)
public int getDx()
public void setDx(int dx)
public int getDy()
public void setDy(int dy)
public int getSpeed()
public void setSpeed(int speed)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.