CircleShape2D.xml 694 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CircleShape2D" inherits="Shape2D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Circular shape for 2D collisions.
  5. </brief_description>
  6. <description>
  7. Circular shape for 2D collisions. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
  15. The circle's radius.
  16. </member>
  17. </members>
  18. <constants>
  19. </constants>
  20. </class>