com.badlogic.gdx.maps.objects
Class RectangleMapObject
java.lang.Object
com.badlogic.gdx.maps.MapObject
com.badlogic.gdx.maps.objects.RectangleMapObject
public class RectangleMapObject
- extends MapObject
Constructor Summary |
RectangleMapObject()
Creates a rectangle object which lower left corner is at (0, 0) with width=1 and height=1 |
RectangleMapObject(float x,
float y,
float width,
float height)
|
RectangleMapObject
public RectangleMapObject()
- Creates a rectangle object which lower left corner is at (0, 0) with width=1 and height=1
RectangleMapObject
public RectangleMapObject(float x,
float y,
float width,
float height)
- Parameters:
x
- y
- width
- height
-
getRectangle
public Rectangle getRectangle()
- Returns:
- rectangle shape
Copyright © 2013. All Rights Reserved.