Modifier and Type | Method and Description |
---|---|
double |
Point.getDistanceTo(Point p) |
double |
Point.getHorizontalDistanceTo(Point p) |
double |
Point.getVerticalDistanceTo(Point p) |
Modifier and Type | Field and Description |
---|---|
protected static Point |
SceneObject.ORIGIN_TOP_LEFT |
Modifier and Type | Method and Description |
---|---|
Point |
SceneObject.getOrigin()
The origin of this
SceneObject . |
Point |
SceneObject.getPosition()
Get the position of this
SceneObject |
Point |
SceneObject.getTopLeftPosition()
The position of this
SceneObject 's top left corner |
Modifier and Type | Method and Description |
---|---|
protected void |
SceneObject.paintOnScene(Graphics2D g,
Point positionTopLeft,
Size size,
long elapsedTime)
Paint on scene with given size and position
|
void |
SceneObject.setPosition(Point position)
Set the position of this
SceneObject |
void |
SceneObject.setTopLeftPosition(Point p)
Set the position of this
SceneObject 's top left corner |
Modifier and Type | Method and Description |
---|---|
Point |
ImageSceneObject.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Point |
SpriteSceneObject.getOrigin() |
Modifier and Type | Method and Description |
---|---|
Point |
ScaleScene.convertGlobalToLocal(Point point)
Converts a global point (real size) to local point (fixed size).
|
Point |
ScaleScene.convertLocalToGlobal(Point point)
Converts a local point (fixed size) to global point (real size).
|
Modifier and Type | Method and Description |
---|---|
Point |
ScaleScene.convertGlobalToLocal(Point point)
Converts a global point (real size) to local point (fixed size).
|
Point |
ScaleScene.convertLocalToGlobal(Point point)
Converts a local point (fixed size) to global point (real size).
|
Copyright © 2017. All rights reserved.