Package entities
Class Player
java.lang.Object
entities.Player
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
final int
final int
boolean
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PLAYER_WIDTH
public final int PLAYER_WIDTH- See Also:
-
PLAYER_HEIGHT
public final int PLAYER_HEIGHT- See Also:
-
left
public boolean left -
right
public boolean right -
jump
public boolean jump
-
-
Constructor Details
-
Player
-
-
Method Details
-
getX
public float getX() -
getY
public float getY() -
getDistance
public double getDistance(int x, int y) -
update
public void update() -
draw
-