public class Bat extends Object
Constructor and Description |
---|
Bat(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getDy() |
int |
getHeight() |
Player |
getPlayer() |
PlayerId |
getPlayerId() |
int |
getSpeed() |
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setDy(int dy) |
void |
setHeight(int height) |
void |
setPlayer(Player player) |
void |
setSpeed(int speed) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
String |
toString() |
public Player getPlayer()
public void setPlayer(Player player)
public PlayerId getPlayerId()
public int getSpeed()
public int getDy()
public void setDy(int dy)
public void setSpeed(int speed)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.