Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A physic object representing a circle / disk created using Group::CreatePhCircle. More...
#include <header.hpp>
Public Member Functions | |
nil | SetRadius (number radius) |
Set circle's radius. | |
number | GetRadius () |
Get circle's radius. | |
PhCircle | Clone () |
Create a clone of the object and return an handler to the clone. | |
PhCircle | CloneToGroup (Group newParent) |
Create a clone of the object, change the parent and return an handler to the clone. | |
Public Attributes | |
float | radius |
Access circle's radius. |
A physic object representing a circle / disk created using Group::CreatePhCircle.
PhCircle PhCircle::Clone | ( | ) |
Create a clone of the object and return an handler to the clone.
Reimplemented from Object.
Create a clone of the object, change the parent and return an handler to the clone.
Reimplemented from Object.
number PhCircle::GetRadius | ( | ) |
Get circle's radius.
nil PhCircle::SetRadius | ( | number | radius | ) |
Set circle's radius.
float PhCircle::radius |
Access circle's radius.