com.badlogic.gdx.maps.objects
Class CircleMapObject

java.lang.Object
  extended by com.badlogic.gdx.maps.MapObject
      extended by com.badlogic.gdx.maps.objects.CircleMapObject

public class CircleMapObject
extends MapObject


Constructor Summary
CircleMapObject()
          Creates a circle map object at (0,0) with r=1.0
CircleMapObject(float x, float y, float radius)
          Creates circle map object
 
Method Summary
 Circle getCircle()
           
 
Methods inherited from class com.badlogic.gdx.maps.MapObject
getColor, getName, getOpacity, getProperties, isVisible, setColor, setName, setOpacity, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircleMapObject

public CircleMapObject()
Creates a circle map object at (0,0) with r=1.0


CircleMapObject

public CircleMapObject(float x,
                       float y,
                       float radius)
Creates circle map object

Parameters:
x -
y -
radius -
Method Detail

getCircle

public Circle getCircle()
Returns:
circle shape


Copyright © 2013. All Rights Reserved.