Interface Guide
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
GuideImpl
The Interface Guide.
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the color.Gets the direction.intgetId()Gets the id.Gets the origin.doublegetX()Gets the x.doublegetY()Gets the y.booleanisShort()Checks if is short.voidSets the color.voidsetDirection(Direction direction) Sets the direction.voidsetId(int id) Sets the id.voidSets the origin.voidsetShort(boolean isShort) Sets the short.voidsetX(double x) Sets the x.voidsetY(double y) Sets the y.
-
Method Details
-
getId
int getId()Gets the id.- Returns:
- the id
-
setId
void setId(int id) Sets the id.- Parameters:
id- the new id
-
getDirection
Direction getDirection()Gets the direction.- Returns:
- the direction
-
setDirection
Sets the direction.- Parameters:
direction- the new direction
-
getX
double getX()Gets the x.- Returns:
- the x
-
setX
void setX(double x) Sets the x.- Parameters:
x- the new x
-
getY
double getY()Gets the y.- Returns:
- the y
-
setY
void setY(double y) Sets the y.- Parameters:
y- the new y
-
isShort
boolean isShort()Checks if is short.- Returns:
- true, if is short
-
setShort
void setShort(boolean isShort) Sets the short.- Parameters:
isShort- the new short
-
getColor
String getColor()Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
getOrigin
Origin getOrigin()Gets the origin.- Returns:
- the origin
-
setOrigin
Sets the origin.- Parameters:
origin- the new origin
-