public class Tile extends Object
| Constructor and Description |
|---|
Tile()
Instantiates a new tile.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height.
|
int |
getOffset()
Gets the offset.
|
int |
getPaddingX()
Gets the padding x.
|
int |
getPaddingY()
Gets the padding y.
|
int |
getWidth()
Gets the width.
|
void |
setHeight(int height)
Sets the height.
|
void |
setOffset(int offset)
Sets the offset.
|
void |
setPadding(int x,
int y)
Sets the padding.
|
void |
setWidth(int width)
Sets the width.
|
public void setOffset(int offset)
offset - the new offsetpublic void setWidth(int width)
width - the new widthpublic void setHeight(int height)
height - the new heightpublic int getOffset()
public int getWidth()
public int getHeight()
public void setPadding(int x,
int y)
x - the xy - the ypublic int getPaddingX()
public int getPaddingY()
Copyright © 2015–2020. All rights reserved.