-
Method Summary
boolean
Tests for equality between two map images.
int
Gets the transparent color.
int
void
void
void
void
void
Methods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
-
Method Details
-
getAbsoluteSourcePath
URL getAbsoluteSourcePath()
-
getWidth
int getWidth()
Gets the width.
- Returns:
- the width
-
getHeight
int getHeight()
Gets the height.
- Returns:
- the height
-
getDimension
Gets the dimension.
- Returns:
- the dimension
-
getSource
Gets the source.
- Returns:
- the source
-
getTransparentColor
Color getTransparentColor()
Gets the transparent color.
- Returns:
- the transparent color
-
equals
boolean equals(Object anObject)
Tests for equality between two map images. Two map images are equal if they have the same absolute source path
and the same transparent color.
- Overrides:
equals in class Object
- Parameters:
anObject - The map image to test for equality with
- Returns:
- Whether this map image is equal to the provided map image, or
false if anObject is not a map
image
-
setTransparentColor
void setTransparentColor(Color color)
-
-
setAbsoluteSourcePath
void setAbsoluteSourcePath(URL absolutePath)
-
setWidth
void setWidth(int width)
-
setHeight
void setHeight(int height)